From 620fc58c23270df63ccd46796cd737d9c043a27a Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:41:27 +0300 Subject: [PATCH] [MIRROR] Fixes `bad_index` runtime in `/obj/item/radio/talk_into_impl` (#1604) * Fixes `bad_index` runtime in `/obj/item/radio/talk_into_impl` (#80980) Fixes this ![Screenshot (383)](https://github.com/tgstation/tgstation/assets/110812394/60be34d8-4fce-4c33-8fa8-006b363136af) I hate Byond N/A --------- * Fixes `bad_index` runtime in `/obj/item/radio/talk_into_impl` --------- Co-authored-by: NovaBot <154629622+NovaBot13@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com> Co-authored-by: NovaBot Co-authored-by: Iajret --- code/game/objects/items/devices/radio/radio.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm index 3edccdcde4e..f5e8eb0c8f3 100644 --- a/code/game/objects/items/devices/radio/radio.dm +++ b/code/game/objects/items/devices/radio/radio.dm @@ -286,7 +286,7 @@ spans |= SPAN_COMMAND var/radio_message = message - if(message_mods[WHISPER_MODE]) + if(LAZYACCESS(message_mods, WHISPER_MODE)) // Radios don't pick up whispers very well radio_message = stars(radio_message) spans |= SPAN_ITALICS