mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 20:33:20 +00:00
Fix error poorly
This commit is contained in:
parent
e23addac7a
commit
2015c1f507
2 changed files with 2 additions and 3 deletions
Binary file not shown.
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue