Skip to content

Commit

Permalink
Radio bug (#1164)
Browse files Browse the repository at this point in the history
* fix headsets being off by default

* how the fuck did this work???
  • Loading branch information
Kapu1178 authored Dec 22, 2024
1 parent 89dceb6 commit 1a72b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/__DEFINES/_span.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
#define span_statsgood(str) ("<span class='statsGood'>" + str + "</span>")
#define span_suicide(str) ("<span class='suicide'>" + str + "</span>")
#define span_suppradio(str) ("<span class='suppradio'>" + str + "</span>")
#define span_subtle(str) ("<spanb class='subtle'>" + str + "</span>")
#define span_subtle(str) ("<span class='subtle'>" + str + "</span>")
#define span_syndradio(str) ("<span class='syndradio'>" + str + "</span>")
#define span_tape_recorder(str) ("<span class='tape_recorder'>" + str + "</span>")
#define span_tinynotice(str) ("<span class='tinynotice'>" + str + "</span>")
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/radio/headset.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
possibly_deactivate_in_loc()

/obj/item/radio/headset/proc/possibly_deactivate_in_loc()
if(equipped_to)
if(ismob(loc))
set_listening(should_be_listening)
else
set_listening(FALSE, actual_setting = FALSE)
Expand Down

0 comments on commit 1a72b23

Please sign in to comment.