CashManager: another small fix

This commit is contained in:
dogan 2020-08-28 15:56:41 +02:00
parent 0962192064
commit 1aaadd4c75

View File

@ -370,6 +370,9 @@ public Action EventHook_PlayerSpawn(Event hEvent, const char[] sEventName, bool
public void RequestFrame_Callback(int client)
{
if(!IsValidClient(client))
return;
if(g_cvarCashRoundReset.BoolValue)
{
SetEntProp(client, Prop_Send, "m_iAccount", g_cvarStartCash.IntValue);