mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user