Skip to content

Commit eaa89a1

Browse files
authored
refactor(core): cleanup deprecated SM api usage
1 parent 91a5973 commit eaa89a1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

addons/sourcemod/scripting/ExtraCommands.sp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public Plugin myinfo =
4141
name = "Advanced Commands",
4242
author = "BotoX + Obus + maxime1907, .Rushaway",
4343
description = "Adds extra commands for admins.",
44-
version = "2.7.13",
44+
version = "2.7.14",
4545
url = ""
4646
};
4747

@@ -243,9 +243,6 @@ public void OnClientDisconnect(int client)
243243
{
244244
g_bInBuyZone[client] = false;
245245
g_bInfAmmo[client] = false;
246-
247-
SDKUnhook(client, SDKHook_PreThink, OnPreThink);
248-
SDKUnhook(client, SDKHook_PostThinkPost, OnPostThinkPost);
249246
}
250247

251248
public void OnPreThink(int client)

0 commit comments

Comments
 (0)