Cyborgs can now use their respective channel.

This commit is contained in:
cib
2012-10-12 14:56:34 -07:00
parent 32e839f683
commit 06d47ea2dd
2 changed files with 18 additions and 0 deletions
@@ -798,4 +798,16 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use
dat+={"[text_wires()]</TT></body></html>"}
user << browse(dat, "window=radio")
onclose(user, "radio")
return
/obj/item/device/radio/proc/config(op)
if(radio_controller)
for (var/ch_name in channels)
radio_controller.remove_object(src, radiochannels[ch_name])
secure_radio_connections = new
channels = op
if(radio_controller)
for (var/ch_name in op)
secure_radio_connections[ch_name] = radio_controller.add_object(src, radiochannels[ch_name], RADIO_CHAT)
return