Skip to content

Commit

Permalink
[MIRROR] Fixes bad_index runtime in /obj/item/radio/talk_into_impl (
Browse files Browse the repository at this point in the history
#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 <[email protected]>
Co-authored-by: SyncIt21 <[email protected]>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Iajret <[email protected]>
  • Loading branch information
6 people authored Jan 18, 2024
1 parent d2d0957 commit 620fc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/radio/radio.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 620fc58

Please sign in to comment.