diff --git a/src/fin.c b/src/fin.c index a2cee61..fc5861c 100644 --- a/src/fin.c +++ b/src/fin.c @@ -14,7 +14,6 @@ int fin(unsigned long int timer) { EcrireTexte(550, 150, "You Win !", 2); char buf[100]; - timer = stop_timer(timer); unsigned int secondes = timer / DELTA; unsigned int minutes = 0; while (secondes >= 60) { diff --git a/src/game.c b/src/game.c index d584220..e652f4c 100644 --- a/src/game.c +++ b/src/game.c @@ -106,5 +106,5 @@ int game(int colonnes, int lignes) { } } - return fin(timer); + return fin(stop_timer(timer)); } \ No newline at end of file