Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix desyncs due to CompCableConnection motes, fixes #447
The method calls random whenever the mote is null or destroyed. There may be situations where the mote ends up being created late or destroyed for some players, but not the others. This is guaranteed to happen when playing with multiple maps, and seems like it may happen when the game is not paused when someone is joining. Since the desync happens due to RNG call to randomize the mote position, this change should fix it by pushing/popping the RNG state before/after the method is called.
- Loading branch information