Skip to content

Commit d5dc0a0

Browse files
authored
refactor(core): cleanup deprecated SM api usage
1 parent ca6a138 commit d5dc0a0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

addons/sourcemod/scripting/WeaponCleaner.sp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public Plugin myinfo =
2424
name = "WeaponCleaner",
2525
author = "BotoX",
2626
description = "Clean unneeded weapons",
27-
version = "2.2.2",
27+
version = "2.2.3",
2828
url = ""
2929
};
3030

@@ -104,9 +104,6 @@ public void OnClientPutInServer(int client)
104104

105105
public void OnClientDisconnect(int client)
106106
{
107-
SDKUnhook(client, SDKHook_WeaponDropPost, OnWeaponDrop);
108-
SDKUnhook(client, SDKHook_WeaponEquipPost, OnWeaponEquip);
109-
110107
if(!IsClientInGame(client))
111108
return;
112109

0 commit comments

Comments
 (0)