Debugging

This commit is contained in:
Markolie
2014-11-19 02:24:07 +01:00
parent 2ee5afe941
commit dc89eaba1a
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -129,7 +129,7 @@
o += "<span class='warning'>"
else
o += "<span style='color:blue'>"
o += "[celsius]Celsius</span> "
o += "[celsius]C</span> "
o += "<span style='color:blue'>"
o += "[pressure]kPa</span></li>"
usr << o
@@ -197,6 +197,7 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use
return wires.IsIndexCut(index)
/obj/item/device/radio/proc/autosay(var/message, var/from, var/channel) //BS12 EDIT
testing("Autosaying.")
var/datum/radio_frequency/connection = null
if(channel && channels && channels.len > 0)
if (channel == "department")
@@ -210,7 +211,7 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use
return
if (!connection)
return
testing("Generating new AI for autosay.")
var/mob/living/silicon/ai/A = new /mob/living/silicon/ai(src, null, null, 1)
Broadcast_Message(connection, A,
0, "*garbled automated announcement*", src,