From 5b1d6cf37ede38d86c270273daa1c611936b71e8 Mon Sep 17 00:00:00 2001
From: Holger Schemel <info@artsoft.org>
Date: Tue, 21 Jan 2025 19:30:33 +0100
Subject: [PATCH] replaced code with equivalent function call

---
 src/game.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/game.c b/src/game.c
index a47129c7..162e56a1 100644
--- a/src/game.c
+++ b/src/game.c
@@ -5055,9 +5055,7 @@ static void LevelSolved_SetFinalGameValues(void)
 		       MM_HEALTH(game_mm.laser_overload_value) :
 		       game.health);
 
-  game.LevelSolved_CountingTime = game.time_final;
-  game.LevelSolved_CountingScore = game.score_final;
-  game.LevelSolved_CountingHealth = game.health_final;
+  LevelSolved_UpdateFinalGameValues(game.time_final, game.score_final, game.health_final);
 }
 
 static void LevelSolved_DisplayFinalGameValues(int time, int score, int health)
-- 
2.34.1