Fixed state issue for non-interpolation

This commit is contained in:
Jeremiah Billmann
2013-06-29 16:15:10 -04:00
parent 78e2d55cb7
commit 7fd66c2db9
+1 -1
View File
@@ -294,7 +294,7 @@ window.GarageServerIO = (function (window, socketio) {
getPlayerStatesCurrent = function (stateCallback) {
_playerController.players.forEach(function (player) {
if (player.anyUpdates()) {
stateCallback(player.getLatestUpdate());
stateCallback(player.getLatestUpdate().state);
}
});
},