DEADSOFTWARE

game: ... but only if we're not in game right now
authorfgsfds <pvt.fgsfds@gmail.com>
Wed, 29 Sep 2021 16:17:04 +0000 (19:17 +0300)
committerfgsfds <pvt.fgsfds@gmail.com>
Wed, 29 Sep 2021 16:17:04 +0000 (19:17 +0300)
src/game/g_options.pas

index cc7e3d3364842034c94c238e3a6911642bdb8e92..59028f5534bb6772957420c8071eacb21605d3be 100644 (file)
@@ -273,7 +273,9 @@ begin
     GAME_OPTION_BOTVSPLAYER or GAME_OPTION_BOTVSMONSTER or
     GAME_OPTION_TEAMHITTRACE or GAME_OPTION_TEAMHITPROJECTILE;
   gsPlayers := 1;
-  g_Options_ApplyGameSettings;
+
+  if not gGameOn then
+    g_Options_ApplyGameSettings;
 
   (* section MasterServer *)
   NetMasterList := 'mpms.doom2d.org:25665, deadsoftware.ru:25665';