mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-08-07 11:17:06 +08:00
Fixed state issue for non-interpolation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user