Hitmarker: fix invalid handle error
This commit is contained in:
parent
f9f2d6d10a
commit
1605ae03a2
@ -476,7 +476,7 @@ void ShowOverlay(int client, float fTime = 0.3)
|
|||||||
g_hTimer[client] = null;
|
g_hTimer[client] = null;
|
||||||
}
|
}
|
||||||
ClientCommand(client, "r_screenoverlay \"%s\"", g_sHitmarkerSkins[g_iHitmarkerSkin[client]]);
|
ClientCommand(client, "r_screenoverlay \"%s\"", g_sHitmarkerSkins[g_iHitmarkerSkin[client]]);
|
||||||
g_hTimer[client] = CreateTimer(fTime, ClearOverlay, client, TIMER_FLAG_NO_MAPCHANGE);
|
g_hTimer[client] = CreateTimer(fTime, ClearOverlay, client);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user