mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 05:07:51 +01:00
Silences throw-notifications on help intent (#7966)
This commit is contained in:
@@ -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("<span class='notice'>[src] relaxes from their ready stance.</span>","<span class='notice'>You relax from your ready stance.</span>")
|
||||
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("<span class='warning'>[src] winds up to throw [get_active_hand()]!</span>","<span class='notice'>You wind up to throw [get_active_hand()].</span>")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user