]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Fix GCC5 warnings (-Wsign-compare and -Wmaybe-uninitialized)
[lugaru.git] / Source / GameTick.cpp
index aff6c86b7961f2e3521b8d99ff6fa55403ac612b..216a81c3fd11d1c25ab5879688d0bfb8dee851ef 100644 (file)
@@ -6233,6 +6233,7 @@ void Game::TickOnceAfter()
                     Account::active().winLevel(whichlevel, bonustotal - startbonustotal, leveltime);
                 }
                 won = 1;
+                Account::active().saveFile(Folders::getUserSavePath());
             }
         }