mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixed mapped intercoms being on the common frequency (#31392)
This commit is contained in:
@@ -61,7 +61,11 @@
|
||||
|
||||
/obj/item/device/radio/initialize()
|
||||
. = ..()
|
||||
frequency = COMMON_FREQ //common chat
|
||||
// Mapped radios may have their frequency set.
|
||||
// This prevents it from getting reset.
|
||||
if(frequency == initial(frequency))
|
||||
frequency = COMMON_FREQ //common chat
|
||||
|
||||
if(freerange)
|
||||
if(frequency < 1200 || frequency > 1600)
|
||||
frequency = sanitize_frequency(frequency, maxf)
|
||||
|
||||
Reference in New Issue
Block a user