Hitmarker: fix invalid handle error

This commit is contained in:
neon 2019-10-12 21:34:30 +02:00
parent f9f2d6d10a
commit 1605ae03a2

View File

@ -476,7 +476,7 @@ void ShowOverlay(int client, float fTime = 0.3)
g_hTimer[client] = null;
}
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);
}
//----------------------------------------------------------------------------------------------------