summaryrefslogtreecommitdiff
path: root/sourcemod/scripting/game_manager.sp
diff options
context:
space:
mode:
authornavewindre <nw@moneybot.cc>2023-12-15 06:02:12 +0100
committernavewindre <nw@moneybot.cc>2023-12-15 06:02:12 +0100
commite99b9c6bac7f5b835f025fa1c342e315b3c3d812 (patch)
treef6667c0e3e9eefd5fcb8b41e5710747eec75527f /sourcemod/scripting/game_manager.sp
parent1c54f685bb080b5409e729ed3bc8fc5ad4e1d774 (diff)
aaaa
Diffstat (limited to 'sourcemod/scripting/game_manager.sp')
-rw-r--r--sourcemod/scripting/game_manager.sp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sourcemod/scripting/game_manager.sp b/sourcemod/scripting/game_manager.sp
index 7959880..f182205 100644
--- a/sourcemod/scripting/game_manager.sp
+++ b/sourcemod/scripting/game_manager.sp
@@ -414,7 +414,7 @@ public Event_PlayerDeath( Handle:event, const String:name[], bool dontBroadcast
public Action:RespawnPlayerDeathmatch( Handle:timer, any:userid ) {
new dmmode = GetConVarInt( g_h_nh_warmup );
- if( !dmmode )
+ if( !dmmode && !g_isKZ )
return;
new id = GetClientOfUserId( userid );
@@ -523,7 +523,7 @@ public Action:Event_PlayerTeam( Handle:event, const String:name[], bool dontBroa
CreateTimer( 0.2, VerifyTeamCounts, 0, 0 );
new uid = GetEventInt( event, "userid" );
- if( GetConVarInt( g_h_nh_warmup ) != 0 ) {
+ if( GetConVarInt( g_h_nh_warmup ) != 0 || g_isKZ ) {
CreateTimer( 0.5, RespawnPlayerDelay, uid );
}