[MIRROR] Fixes Traitor Uplinks Being Set to Existing Radio Channels (#3118)

* Fixes Traitor Uplinks Being Set to Existing Radio Channels (#56608)

* Fixes Traitor Uplinks Being Set to Existing Radio Channels

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
This commit is contained in:
SkyratBot
2021-02-05 22:05:30 +00:00
committed by GitHub
co-authored by Kylerace
parent 22f0a5e01a
commit 762bf6fe62
2 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -331,7 +331,7 @@
if(istype(parent,/obj/item/pda))
return "[rand(100,999)] [pick(GLOB.phonetic_alphabet)]"
else if(istype(parent,/obj/item/radio))
return sanitize_frequency(rand(MIN_FREQ, MAX_FREQ))
return return_unused_frequency()
else if(istype(parent,/obj/item/pen))
var/list/L = list()
for(var/i in 1 to PEN_ROTATIONS)