fixed saving score tape if no tape was recorded
authorHolger Schemel <info@artsoft.org>
Sat, 24 Apr 2021 23:15:07 +0000 (01:15 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 1 May 2021 13:38:30 +0000 (15:38 +0200)
src/game.c

index d7ba00f66daf12a950114f8fb1b27413526c6617..78101becf1c76f8e48e12a5ef252c4344c753350 100644 (file)
@@ -5122,8 +5122,10 @@ int NewHighScore(int level_nr)
 
   if (position >= 0)
   {
-    SaveScoreTape(level_nr);
     SaveScore(level_nr);
+
+    if (game.LevelSolved_SaveTape)
+      SaveScoreTape(level_nr);
   }
 
   return position;