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