CashManager: oops
This commit is contained in:
parent
473abce62e
commit
cc1b809d93
@ -248,9 +248,6 @@ public Action EventHook_RoundEnd(Event hEvent, const char[] sEventName, bool bDo
|
||||
if(!IsValidClient(i))
|
||||
continue;
|
||||
|
||||
if(g_iCash[i] == -1)
|
||||
continue;
|
||||
|
||||
if(GetClientTeam(i) == CS_TEAM_CT && bAwardHumans && !(GetEntProp(i, Prop_Send, "m_iAccount") >= g_cvarMaxCash.IntValue))
|
||||
{
|
||||
SetEntProp(i, Prop_Send, "m_iAccount", GetEntProp(i, Prop_Send, "m_iAccount") + g_cvarHumanWinGain.IntValue);
|
||||
|
Loading…
Reference in New Issue
Block a user