Merge pull request #10967 from farie82/telepathy-fix

Can't use telepathy when unconcious or dead now
This commit is contained in:
variableundefined
2019-03-01 11:45:19 +08:00
committed by GitHub
+1 -1
View File
@@ -227,7 +227,7 @@
/obj/effect/proc_holder/spell/targeted/remotetalk/cast(list/targets, mob/user = usr)
if(!ishuman(user)) return
var/say = input("What do you wish to say") as text|null
if(!say)
if(!say || usr.stat)
return
say = strip_html(say)
say = pencode_to_html(say, usr, format = 0, fields = 0)