mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-10-02 11:50:38 +08:00
Fixed a merging issue
This commit is contained in:
1 parent
3e869e6d9b
commit
ff67b5e945
3 files changed
+12
-12
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user