From: Holger Schemel Date: Mon, 14 Jun 2021 16:04:03 +0000 (+0200) Subject: added updating game panel values immediately after solving game X-Git-Tag: 4.3.0.0~128 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cbebf390d7744095a5a90df005e692dfe402e9e2;p=rocksndiamonds.git added updating game panel values immediately after solving game --- diff --git a/src/game.c b/src/game.c index 1533d955..3d0e2d3b 100644 --- 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; + // 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) {