mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
During first worldUpdate set doll positions after spawning players
Otherwise we get a warning.
This commit is contained in:
parent
a5f828a861
commit
016c48ec3b
2 changed files with 5 additions and 5 deletions
|
|
@ -75,7 +75,7 @@ function (PhysicsEngine, TiledLevel, Player, Nc, Doll, GameObject, Item, Assert)
|
|||
var gameObject = this.worldUpdateObjects[uid];
|
||||
|
||||
if (!(gameObject instanceof GameObject)) {
|
||||
console.warn('Cant find object ' + uid + ' in worldUpdateObjects pool');
|
||||
console.warn('Can\'t find object ' + uid + ' in worldUpdateObjects pool:', Object.keys(this.worldUpdateObjects));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue