From 3ba6ebd7f98df7b3e917920572caba1252c0c537 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Fri, 24 Apr 2020 21:40:56 +0300 Subject: [PATCH] game: g_FatalError actually ends the game --- src/game/g_game.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 9112b7f..82d2981 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -4223,6 +4223,7 @@ begin e_WriteLog(Format(_lc[I_FATAL_ERROR], [Text]), TMsgType.Warning); gExit := EXIT_SIMPLE; + if gGameOn then EndGame; end; procedure g_SimpleError(Text: String); -- 2.29.2