Fix previous, don't save replay metadata if a multiplayer gamesetup page was opened and closed, refs 35408e7e7e / D2197, refs #5565.

This was SVN commit r22992.
This commit is contained in:
elexis
2019-09-25 16:41:14 +00:00
parent 35408e7e7e
commit 00b58fc2ed
+1 -1
View File
@@ -102,7 +102,7 @@ CGame::~CGame()
if (CProfileManager::IsInitialised())
g_Profiler.StructuralReset();
if (m_ReplayLogger)
if (m_ReplayLogger && m_GameStarted)
m_ReplayLogger->SaveMetadata(*m_Simulation2);
delete m_TurnManager;