From 4e918e0e4ea1785fc8c4af01658b5dc34005608c Mon Sep 17 00:00:00 2001 From: Baloo <73783549+41Baloo@users.noreply.github.com> Date: Thu, 22 Aug 2024 19:11:04 +0000 Subject: [PATCH] Fixed malformed if statement --- src/hooks/protections/received_event.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hooks/protections/received_event.cpp b/src/hooks/protections/received_event.cpp index 22869a71..ffad0b67 100644 --- a/src/hooks/protections/received_event.cpp +++ b/src/hooks/protections/received_event.cpp @@ -103,7 +103,9 @@ namespace big if ("WEAPON_TRANQUILIZER"_J == weaponType) { if (auto plyr = g_player_service->get_by_id(player->m_player_id)) - g.reactions.break_game.process(plyr); + { + g.reactions.break_game.process(plyr); + } return true; }