Fixes "Adjust Signaler Settings" option not working

Window does show up behind the multi-tool menu, but that's not a huge
issue.
This commit is contained in:
FalseIncarnate
2016-03-30 15:42:35 -04:00
parent b91740b19b
commit 5fb1946201
2 changed files with 7 additions and 8 deletions
+6 -7
View File
@@ -20,13 +20,12 @@
/obj/item/device/assembly/signaler/New()
..()
if(!radio_controller)
spawn(40)
set_frequency(frequency)
else
spawn(1) // For things that set the frequency directly
set_frequency(frequency)
return
if(radio_controller)
set_frequency(frequency)
/obj/item/device/assembly/signaler/initialize()
if(radio_controller)
set_frequency(frequency)
/obj/item/device/assembly/signaler/Destroy()
if(radio_controller)
+1 -1
View File
@@ -112,7 +112,7 @@
attached_signaler.receiving = 1
else
attached_signaler.receiving = 0
if("adjust_signaler" in href_list && attached_signaler) //Make sure that we have a signaler attached to handle this one, otherwise ignore this command
if(("adjust_signaler" in href_list) && attached_signaler) //Make sure that we have a signaler attached to handle this one, otherwise ignore this command
attached_signaler.interact(user, 1)
update_multitool_menu(user)