projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0715815
)
added saving score tape and server score if score not added to local scores
author
Holger Schemel
<info@artsoft.org>
Wed, 12 May 2021 22:36:16 +0000
(
00:36
+0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 12 May 2021 22:36:16 +0000
(
00:36
+0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 70aa13f400166aa87d9ba9c06801675f11a78cc8..f5ed675623811390c1cfce5d1c8ce150f0b7ab69 100644
(file)
--- 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)