still runtimes

This commit is contained in:
Aurorablade
2017-05-14 00:08:21 -04:00
parent d5c1428a6a
commit eb17dc8f8b
2 changed files with 13 additions and 14 deletions
+3 -3
View File
@@ -75,7 +75,7 @@
if(!message)
return
var/obj/machinery/holopad/T = current
var/obj/machinery/hologram/holopad/T = current
if(istype(T) && T.masters[src])
//Human-like, sorta, heard by those who understand humans.
@@ -116,7 +116,7 @@
if(!message)
return
var/obj/machinery/holopad/T = current
var/obj/machinery/hologram/holopad/T = current
if(istype(T) && T.masters[src])
var/rendered = "<span class='game say'><span class='name'>[name]</span> <span class='message'>[message]</span></span>"
to_chat(src, "<i><span class='game say'>Holopad action relayed, <span class='name'>[real_name]</span> <span class='message'>[message]</span></span></i>")
@@ -129,7 +129,7 @@
return 1
/mob/living/silicon/ai/emote(var/act, var/type, var/message)
var/obj/machinery/holopad/T = current
var/obj/machinery/hologram/holopad/T = current
if(istype(T) && T.masters[src])//Is the AI using a holopad?
src.holopad_emote(message)
else //Emote normally, then.