From 67a6fee92e541763dbd7f3eb019a3d45d3dbe799 Mon Sep 17 00:00:00 2001
From: Reo Lozzot <84661000+ReoDaProtovali@users.noreply.github.com>
Date: Fri, 15 Mar 2024 01:46:42 -0500
Subject: [PATCH] Silences throw-notifications on help intent (#7966)
---
code/modules/mob/mob.dm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm
index bf7f1ceaae..ca8bd99cbb 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -1200,7 +1200,7 @@
/mob/proc/throw_mode_off()
src.in_throw_mode = 0
if(client)
- if(a_intent == I_HELP || client.prefs.throwmode_loud)
+ if(client.prefs.throwmode_loud) //CHOMPEdit: Throw notices are based on prefs, and dont ignore said prefs if you're on help intent
src.visible_message("[src] relaxes from their ready stance.","You relax from your ready stance.")
if(src.throw_icon) //in case we don't have the HUD and we use the hotkey
src.throw_icon.icon_state = "act_throw_off"
@@ -1208,7 +1208,7 @@
/mob/proc/throw_mode_on()
src.in_throw_mode = 1
if(client)
- if(a_intent == I_HELP || client.prefs.throwmode_loud)
+ if(client.prefs.throwmode_loud) //CHOMPEdit: Throw notices are based on prefs, and dont ignore said prefs if you're on help
if(src.get_active_hand())
src.visible_message("[src] winds up to throw [get_active_hand()]!","You wind up to throw [get_active_hand()].")
else