]> git.jsancho.org Git - lugaru.git/commitdiff
Call to static method should be static
authorCôme Chilliet <come@chilliet.eu>
Wed, 14 Dec 2016 07:41:51 +0000 (14:41 +0700)
committerCôme Chilliet <come@chilliet.eu>
Wed, 14 Dec 2016 07:41:51 +0000 (14:41 +0700)
Source/GameTick.cpp

index 216a81c3fd11d1c25ab5879688d0bfb8dee851ef..921058bae09c0a07bea69e30345d4bb296d6b53b 100644 (file)
@@ -6233,7 +6233,7 @@ void Game::TickOnceAfter()
                     Account::active().winLevel(whichlevel, bonustotal - startbonustotal, leveltime);
                 }
                 won = 1;
-                Account::active().saveFile(Folders::getUserSavePath());
+                Account::saveFile(Folders::getUserSavePath());
             }
         }