Clear state correctly on mod transition
This commit is contained in:
@@ -273,6 +273,11 @@ namespace OpenRA
|
|||||||
// Clear static state if we have switched mods
|
// Clear static state if we have switched mods
|
||||||
LobbyInfoChanged = () => {};
|
LobbyInfoChanged = () => {};
|
||||||
AddChatLine = (a,b,c) => {};
|
AddChatLine = (a,b,c) => {};
|
||||||
|
ConnectionStateChanged = om => {};
|
||||||
|
BeforeGameStart = () => {};
|
||||||
|
AfterGameStart = w => {};
|
||||||
|
afterTickActions = new ActionQueue();
|
||||||
|
|
||||||
worldRenderer = null;
|
worldRenderer = null;
|
||||||
if (server != null)
|
if (server != null)
|
||||||
server.Shutdown();
|
server.Shutdown();
|
||||||
|
|||||||
Reference in New Issue
Block a user