diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index bc645b0a57fd12de70a6888d4e8c4c32ec9c52fd..f4486028795f4f80134a47d33b5de80b517f9f53 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
if ((not gGameOn) and (gState <> STATE_INTERCUSTOM))
or (not (gGameSettings.GameType in [GT_CUSTOM, GT_SERVER, GT_CLIENT])) then
Exit;
+
+ if (gGameSettings.MaxLives > 0) and (gLMSRespawn = LMS_RESPAWN_NONE) then
+ Exit;
+
if gPlayer1 = nil then
begin
if g_Game_IsClient then
gLMSRespawn := LMS_RESPAWN_WARMUP;
gLMSRespawnTime := gTime + gGameSettings.WarmupTime*1000;
gLMSSoftSpawn := NoMapRestart;
+ if g_Game_IsNet then
+ MH_SEND_GameEvent(NET_EV_LMS_WARMUP, gLMSRespawnTime - gTime);
Exit;
end;