When we receive information that a player has disconnected on a certain frame, we should rollback to that frame and resimulate the game with correct input information. This is currently simply not happening and we wrongly have a few frames of input prediction in the game simulation.
This can lead to desyncs in sessions with more than two players.
When we receive information that a player has disconnected on a certain frame, we should rollback to that frame and resimulate the game with correct input information. This is currently simply not happening and we wrongly have a few frames of input prediction in the game simulation.
This can lead to desyncs in sessions with more than two players.
Relevant code section