This commit is contained in:
JonaMaz
2023-02-12 13:36:21 -05:00
parent 58c5b2eb59
commit 1c815540bb
+1 -1
View File
@@ -434,7 +434,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)) // 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)) // 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