From 00f0773dc10bce2fcef4e3a6baf03d98d2686b1f Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 11 May 2011 20:38:47 +1200 Subject: [PATCH] Clear state correctly on mod transition --- OpenRA.Game/Game.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index e8042526f2..8874706fe8 100755 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -273,6 +273,11 @@ namespace OpenRA // Clear static state if we have switched mods LobbyInfoChanged = () => {}; AddChatLine = (a,b,c) => {}; + ConnectionStateChanged = om => {}; + BeforeGameStart = () => {}; + AfterGameStart = w => {}; + afterTickActions = new ActionQueue(); + worldRenderer = null; if (server != null) server.Shutdown();