Removed set player state from client - should set from server

This commit is contained in:
Jeremiah Billmann
2013-07-14 12:02:24 -04:00
parent 4911079981
commit 5a778589ea
7 changed files with 3 additions and 46 deletions
@@ -34,14 +34,4 @@ PlayerController.prototype.addInput = function (id, input, sequence, time) {
return true;
}
});
};
PlayerController.prototype.setState = function (id, state) {
this.entities.some(function (player) {
if (player.client.id === id) {
player.state = state;
player.inputs = [];
return true;
}
});
};