Refixed interp issue related to previous snapping issue

This commit is contained in:
Jeremiah Billmann
2014-10-23 17:14:08 +00:00
parent 7bb18d3c3f
commit 34c3d07852
+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;
}
}