added saving score tape and server score if score not added to local scores
authorHolger Schemel <info@artsoft.org>
Wed, 12 May 2021 22:36:16 +0000 (00:36 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 12 May 2021 22:36:16 +0000 (00:36 +0200)
src/game.c

index 70aa13f400166aa87d9ba9c06801675f11a78cc8..f5ed675623811390c1cfce5d1c8ce150f0b7ab69 100644 (file)
@@ -5131,15 +5131,15 @@ void NewHighScore(int level_nr)
   {
     SaveScore(level_nr);
 
-    if (game.LevelSolved_SaveTape)
-    {
-      SaveScoreTape(level_nr);
-      SaveServerScore(level_nr);
-    }
-
     // store last added local score entry (before merging server scores)
     scores.last_added_local = scores.last_added;
   }
+
+  if (game.LevelSolved_SaveTape)
+  {
+    SaveScoreTape(level_nr);
+    SaveServerScore(level_nr);
+  }
 }
 
 void MergeServerScore(void)