This should enable pAIs and parasites to see emotes.

This commit is contained in:
cib
2012-05-18 18:54:26 +02:00
parent 5bd2508fbc
commit 3bf3669ffb
2 changed files with 8 additions and 8 deletions
@@ -537,8 +537,8 @@
if (m_type & 1)
for (var/mob/O in viewers(src, null))
for (var/mob/O in world) if(O.client && (O.client.eye in viewers(src.loc)))
O.show_message(message, m_type)
else if (m_type & 2)
for (var/mob/O in hearers(src.loc, null))
for (var/mob/O in world) if(O.client && (O.client.eye in hearers(src.loc)))
O.show_message(message, m_type)
+6 -6
View File
@@ -429,16 +429,16 @@ mob/living/parasite/meme/verb/Possession()
spawn
var/mob/dummy = new
var/client/host_client = host.client
var/client/meme_client = src.client
var/client/host_key = host.key
var/client/meme_key = src.key
if(host_client) host_client.mob = dummy
meme_client.mob = host
if(host_client) dummy.key = host_key
host.key = meme_key
sleep(600)
if(host_client) host_client.mob = host
if(meme_client) meme_client.mob = src
host.key = host_key
src.key = meme_key
src << "\red You lose control.."
del dummy