From 9d34c73a3ec383d77b630a76c78eac24521f6c66 Mon Sep 17 00:00:00 2001 From: Alaux <73968015+MrAlaux@users.noreply.github.com> Date: Sun, 29 Dec 2024 12:49:19 -0300 Subject: [PATCH] Try to fix `-levelstat` --- src/g_game.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/g_game.c b/src/g_game.c index 8e7ff3fc7..31292bdf7 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -2065,6 +2065,8 @@ static void G_WriteLevelStat(void) levelString, (secretexit ? "s" : ""), levelTimeString, totalTimeString, playerKills, totalkills, playerItems, totalitems, playerSecrets, totalsecret); + + fflush(fstream); // [Nugget] } // [Nugget] Custom Skill