Fixed a merging issue

This commit is contained in:
Jeremiah Billmann
2014-10-23 16:54:23 +00:00
parent 3e869e6d9b
commit ff67b5e945
3 changed files with 12 additions and 12 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 if (entity.inputController.sequenceNumber === 1) {
else {
entity.state = entity.latestUpdate().state;
}
}