fixed crashing player destroy

This commit is contained in:
logsol 2014-06-07 19:30:57 +02:00
parent a4120f6ff5
commit 4bf4eb8b35
3 changed files with 6 additions and 4 deletions

View file

@ -166,7 +166,6 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
var player = this.players[playerId];
player.spawn(x, y);
this.onGameObjectAdd('animated', player);
if(options.holdingItemUid) {
this.onHandActionResponse({