QTfrontend/game.cpp
changeset 12827 f062a31fc8f2
parent 12644 2473b03629c8
child 13083 dd904dd9c587
--- a/QTfrontend/game.cpp	Fri Nov 03 05:03:47 2017 +0100
+++ b/QTfrontend/game.cpp	Fri Nov 03 05:46:36 2017 +0100
@@ -435,6 +435,7 @@
 void HWGame::PlayDemo(const QString & demofilename, bool isSave)
 {
     gameType = isSave ? gtSave : gtDemo;
+    lastGameType = gameType;
     QFile demofile(demofilename);
     if (!demofile.open(QIODevice::ReadOnly))
     {