In a previous commit I changed getDelta() to getDeltaMs. Reverted this change to avoid confusion during the PR
@@ -127,7 +127,7 @@ public void onPlayerInput(CharacterMoveInputEvent input, EntityRef entity) {
}
CircularBuffer<CharacterStateEvent> stateBuffer = characterStates.get(entity);
CharacterStateEvent lastState = stateBuffer.getLast();
- float delta = input.getDeltaMs() + lastState.getTime() - (time.getGameTimeInMs() + MAX_INPUT_OVERFLOW + 100);
+ float delta = input.getDelta() + lastState.getTime() - (time.getGameTimeInMs() + MAX_INPUT_OVERFLOW + 100);
if (RecordAndReplayStatus.getCurrentStatus() == RecordAndReplayStatus.REPLAYING) {
delta -= MAX_INPUT_OVERFLOW_REPLAY_INCREASE;
}
