From: Holger Schemel Date: Sat, 24 Apr 2021 23:15:07 +0000 (+0200) Subject: fixed saving score tape if no tape was recorded X-Git-Tag: 4.3.0.0~182 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=429dbf49854bd06cc3b0c64742ad32b1b95c6eac;p=rocksndiamonds.git fixed saving score tape if no tape was recorded --- diff --git a/src/game.c b/src/game.c index d7ba00f6..78101bec 100644 --- a/src/game.c +++ b/src/game.c @@ -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;