mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Recalculate channels when a headset's frequency is changed. (#26990)
This commit is contained in:
@@ -277,6 +277,9 @@
|
||||
|
||||
return
|
||||
|
||||
/obj/item/device/radio/headset/set_frequency(new_frequency)
|
||||
..()
|
||||
recalculateChannels()
|
||||
|
||||
/obj/item/device/radio/headset/proc/recalculateChannels()
|
||||
src.channels = list()
|
||||
|
||||
Reference in New Issue
Block a user