From: Holger Schemel Date: Wed, 12 May 2021 22:36:16 +0000 (+0200) Subject: added saving score tape and server score if score not added to local scores X-Git-Tag: 4.3.0.0~152 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=24dfe1376ebe0b6fb3e0215c7a644993e83adf18;p=rocksndiamonds.git added saving score tape and server score if score not added to local scores --- diff --git a/src/game.c b/src/game.c index 70aa13f4..f5ed6756 100644 --- a/src/game.c +++ b/src/game.c @@ -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)