From ee3395d83e81d7cc9cd561d12d81cf9beeb93bb8 Mon Sep 17 00:00:00 2001 From: chel <64568243+iliyaxox@users.noreply.github.com> Date: Tue, 16 Apr 2024 10:38:37 -0300 Subject: [PATCH] Fixes the subtler hotkey opening up the subtle textbox (#6390) ## About The Pull Request title ## Why It's Good For The Game fixes #6296 ## Changelog :cl: Chelxox fix: The subtler (anti-ghost) hotkey will now actually open the subtler textbox instead of the subtle one /:cl: --- code/modules/keybindings/keybind/mob.dm | 2 +- code/modules/mob/say.dm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/keybindings/keybind/mob.dm b/code/modules/keybindings/keybind/mob.dm index 8472f2d4ef7..ea741423a49 100644 --- a/code/modules/keybindings/keybind/mob.dm +++ b/code/modules/keybindings/keybind/mob.dm @@ -195,7 +195,7 @@ description = "Does a subtle emote that's invisible to ghosts." /datum/keybinding/mob/subtler/down(client/user) - user.mob.subtle_wrapper() + user.mob.subtler_wrapper() return TRUE /datum/keybinding/mob/drop_item diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index 85bc9b61c77..a9451d4e304 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -12,6 +12,11 @@ if(message) me_verb_subtle(message) +/mob/proc/subtler_wrapper() + var/message = input("","subtler (text)") as message|null + if(message) + subtler_anti_ghost(message) + /mob/verb/whisper(message as text) set name = "Whisper" set category = VERB_CATEGORY_IC