From edd8b29794644c90f164c636b1043fe8bceeaeb9 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 27 Aug 2022 21:59:40 +0100 Subject: [PATCH] Don't trigger signal state/style desync message in GM_MENU mode This occurs when loading a network savegame fails and the menu game is reloaded --- src/signal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signal.cpp b/src/signal.cpp index 7bb9116835..6d98405c12 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -1851,7 +1851,7 @@ void UpdateExtraAspectsVariable() bool style_change = DetermineExtraAspectsVariable(); if (style_remap || style_change) { - if (_networking && !_network_server) { + if (_networking && !_network_server && _game_mode != GM_MENU) { const char *msg = "Network client recalculating signal states and/or signal style mappings, this is likely to cause desyncs"; DEBUG(desync, 0, "%s", msg); LogDesyncMsg(msg);