Fixed issue with low latency and snapping.

This commit is contained in:
Jeremiah Billmann
2013-09-20 10:50:06 -05:00
parent 15d7670705
commit aa8eec72f2
2 changed files with 10 additions and 10 deletions
-3
View File
@@ -405,9 +405,6 @@ 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 {
entity.state = entity.latestUpdate().state;
}
}
});
},