From 20cf0125a441543d5a3320dbfe609853358e4447 Mon Sep 17 00:00:00 2001 From: Baloo <73783549+41Baloo@users.noreply.github.com> Date: Thu, 22 Aug 2024 07:09:16 +0000 Subject: [PATCH] fixed another typo --- src/hooks/protections/received_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/protections/received_event.cpp b/src/hooks/protections/received_event.cpp index aea5d61b..329ba67d 100644 --- a/src/hooks/protections/received_event.cpp +++ b/src/hooks/protections/received_event.cpp @@ -27,7 +27,7 @@ namespace big static bool is_valid_weapon(rage::joaat_t hash) { - if ("WEAPON_TRANQUILIZER"_J == weaponType) + if ("WEAPON_TRANQUILIZER"_J == hash) { return false; }