fixed problem when user disconnected

This commit is contained in:
Jeena Paradies 2012-07-14 00:04:41 +02:00
parent e751210345
commit 7d0df79ac8
8 changed files with 73 additions and 33 deletions

View file

@ -180,5 +180,9 @@ define(["Chuck/Physics/Doll", "Chuck/Settings"], function(Doll, Settings){
}
}
Player.prototype.destroy = function() {
this.doll.destroy();
}
return Player;
});