projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added escaping special characters in JSON strings for HTTP requests
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 1533d9555a231de40cd1a42c9368584604c8b233..3d0e2d3bff7aca38e3d10df5f29e8111d5c5f194 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-4790,6
+4790,9
@@
void GameWon(void)
score = score_final = game.score_final;
health = health_final = game.health_final;
score = score_final = game.score_final;
health = health_final = game.health_final;
+ // update game panel values before (delayed) counting of score (if any)
+ LevelSolved_DisplayFinalGameValues(time, score, health);
+
// if level has time score defined, calculate new final game values
if (time_score > 0)
{
// if level has time score defined, calculate new final game values
if (time_score > 0)
{