Save the replay metadata block when quitting.

This commit is contained in:
Paul Chote
2014-05-24 23:13:19 +12:00
parent f5badcfc98
commit 910db14ee8

View File

@@ -501,6 +501,10 @@ namespace OpenRA
Tick(orderManager);
}
// Ensure that the active replay is properly saved
if (orderManager != null)
orderManager.Dispose();
OnQuit();
}