From f2ef23db610c3422786cc53ba5137120f8c964d6 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Fri, 16 Apr 2021 00:15:21 +0700 Subject: [PATCH] Fixed flag 'k' mp_round_infinite (Fixes #614) --- regamedll/dlls/multiplay_gamerules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/multiplay_gamerules.cpp b/regamedll/dlls/multiplay_gamerules.cpp index c4a97257..8d87ff93 100644 --- a/regamedll/dlls/multiplay_gamerules.cpp +++ b/regamedll/dlls/multiplay_gamerules.cpp @@ -2999,7 +2999,7 @@ void CHalfLifeMultiplay::CheckRoundTimeExpired() if (!OnRoundEnd_Intercept(WINSTATUS_CTS, ROUND_TARGET_SAVED, GetRoundRestartDelay())) return; } - else if (!(scenarioFlags & SCENARIO_BLOCK_HOSTAGE_RESCUE) && UTIL_FindEntityByClassname(nullptr, "hostage_entity")) + else if (!(scenarioFlags & SCENARIO_BLOCK_HOSTAGE_RESCUE_TIME) && UTIL_FindEntityByClassname(nullptr, "hostage_entity")) { if (!OnRoundEnd_Intercept(WINSTATUS_TERRORISTS, ROUND_HOSTAGE_NOT_RESCUED, GetRoundRestartDelay())) return;