diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 9112b7f9eb91eb0b6e49942a72038f800961d8d6..82d2981743c307471a549bd6a6e8ee65db137f58 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
e_WriteLog(Format(_lc[I_FATAL_ERROR], [Text]), TMsgType.Warning);
gExit := EXIT_SIMPLE;
e_WriteLog(Format(_lc[I_FATAL_ERROR], [Text]), TMsgType.Warning);
gExit := EXIT_SIMPLE;
+ if gGameOn then EndGame;
end;
procedure g_SimpleError(Text: String);
end;
procedure g_SimpleError(Text: String);