From 2c44886ae5a304409b4ea0b6887d5756d5796945 Mon Sep 17 00:00:00 2001 From: nikothedude <59709059+nikothedude@users.noreply.github.com> Date: Sat, 25 Nov 2023 15:49:07 -0500 Subject: [PATCH] Allows radios to be used in mechas (#25238) l; Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> --- code/modules/mob/living/living_say.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/living_say.dm b/code/modules/mob/living/living_say.dm index de01642f0c6..8ece4a2be84 100644 --- a/code/modules/mob/living/living_say.dm +++ b/code/modules/mob/living/living_say.dm @@ -507,7 +507,7 @@ GLOBAL_LIST_INIT(message_modes_stat_limits, list( /mob/living/proc/radio(message, list/message_mods = list(), list/spans, language) //SKYRAT EDIT ADDITION BEGIN - if((message_mods[MODE_HEADSET] || message_mods[RADIO_EXTENSION]) && !(mobility_flags & MOBILITY_USE) && !isAI(src) && !ispAI(src)) // If can't use items, you can't press the button + if((message_mods[MODE_HEADSET] || message_mods[RADIO_EXTENSION]) && !(mobility_flags & MOBILITY_USE) && !isAI(src) && !ispAI(src) && !ismecha(loc)) // If can't use items, you can't press the button to_chat(src, span_warning("You can't use the radio right now as you can't reach the button!")) return ITALICS | REDUCE_RANGE //SKYRAT EDIT END