Merged changes

This commit is contained in:
Jeremiah Billmann
2014-10-23 16:40:07 +00:00
5 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ var GarageServerIO = (function (socketio) {
newState = _options.onInterpolation(positions.previous.state, positions.target.state, amount);
entity.state = newState = _options.onInterpolation(entity.state, newState, _stateController.smoothingFactor);
}
else {
else if (entity.inputController.sequenceNumber === 1) {
entity.state = entity.latestUpdate().state;
}
}