mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-18 12:44:15 +01:00
Port of #18995
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user