https://github.com/libsdl-org/Maelstrom/commit/3b3ea9ec5213f8cbb62b6363a85325acab978fb0
From 3b3ea9ec5213f8cbb62b6363a85325acab978fb0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 20 Nov 2011 14:21:08 -0500
Subject: [PATCH] Don't handle network sync or input while at the bonus screen
because the tick calls are not called a consistent number of times between
players.
---
game/game.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/game/game.cpp b/game/game.cpp
index c7a04770..84391bd9 100644
--- a/game/game.cpp
+++ b/game/game.cpp
@@ -244,6 +244,10 @@ GamePanelDelegate::OnTick()
return;
}
+ if ( gGameInfo.GetLocalState() & STATE_BONUS ) {
+ return;
+ }
+
/* -- Read in keyboard input for our ship */
HandleEvents(0);