fixed double update problem on PlayerController

This commit is contained in:
Jeena 2014-05-31 02:11:13 +02:00
parent ce0d0204ea
commit 5f2be233ba
3 changed files with 3 additions and 5 deletions

View file

@ -50,8 +50,6 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
this.animationRequestId = requestAnimFrame(this.update.bind(this));
if(this.me && this.me.playerController) this.me.playerController.update();
this.physicsEngine.update();
if(this.me) {