[CashManager] Don't block round_end

This commit is contained in:
xen 2025-03-01 23:37:29 +02:00
parent 9ac738d442
commit 514daf6715

View File

@ -261,14 +261,14 @@ public Action ResetTriggerCD(Handle timer)
public Action EventHook_RoundEnd(Event hEvent, const char[] sEventName, bool bDontBroadcast) public Action EventHook_RoundEnd(Event hEvent, const char[] sEventName, bool bDontBroadcast)
{ {
if(g_cvarCashRoundReset.BoolValue) if(g_cvarCashRoundReset.BoolValue)
return Plugin_Handled; return Plugin_Continue;
g_bAwardHumans = (hEvent.GetInt("winner") == CS_TEAM_CT); g_bAwardHumans = (hEvent.GetInt("winner") == CS_TEAM_CT);
g_bAwardZombies = (hEvent.GetInt("winner") == CS_TEAM_T); g_bAwardZombies = (hEvent.GetInt("winner") == CS_TEAM_T);
RequestFrame(RequestFrame_Callback3); RequestFrame(RequestFrame_Callback3);
return Plugin_Handled; return Plugin_Continue;
} }
public Action EventHook_RoundStart(Event hEvent, const char[] sEventName, bool bDontBroadcast) public Action EventHook_RoundStart(Event hEvent, const char[] sEventName, bool bDontBroadcast)