Fix error poorly

This commit is contained in:
Jackz 2023-05-16 20:55:57 -05:00
parent e23addac7a
commit 2015c1f507
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
2 changed files with 2 additions and 3 deletions

Binary file not shown.

View file

@ -408,9 +408,8 @@ public Action Cmd_Release(client, args) {
SetEntityRenderColor(g_pGrabbedEnt[client], g_eOriginalColor[client][0], g_eOriginalColor[client][1], g_eOriginalColor[client][2], g_eOriginalColor[client][3]);
// Kill the grab timer and reset control values
if (g_eGrabTimer[client] != null) {
KillTimer(g_eGrabTimer[client]);
g_eGrabTimer[client] = null;
if (IsValidHandle(g_eGrabTimer[client])) {
delete g_eGrabTimer[client];
}
g_pGrabbedEnt[client] = -1;