mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes cases of mobs not seeing pipe vision.
This commit is contained in:
@@ -78,6 +78,8 @@
|
||||
if (tr_flags & TR_DEFAULTMSG)
|
||||
O << "<B>You are now a monkey.</B>"
|
||||
|
||||
O.update_pipe_vision()
|
||||
|
||||
for(var/A in loc.vars)
|
||||
if(loc.vars[A] == src)
|
||||
loc.vars[A] = O
|
||||
@@ -191,6 +193,8 @@
|
||||
if (tr_flags & TR_DEFAULTMSG)
|
||||
O << "<B>You are now a human.</B>"
|
||||
|
||||
O.update_pipe_vision()
|
||||
|
||||
updateappearance(O)
|
||||
. = O
|
||||
|
||||
@@ -238,6 +242,8 @@
|
||||
else
|
||||
O.key = key
|
||||
|
||||
O.update_pipe_vision()
|
||||
|
||||
var/obj/loc_landmark
|
||||
for(var/obj/effect/landmark/start/sloc in landmarks_list)
|
||||
if (sloc.name != "AI")
|
||||
@@ -322,6 +328,8 @@
|
||||
else
|
||||
O.key = key
|
||||
|
||||
O.update_pipe_vision()
|
||||
|
||||
O.loc = loc
|
||||
O.job = "Cyborg"
|
||||
O.notify_ai(1)
|
||||
@@ -357,6 +365,7 @@
|
||||
new_xeno.key = key
|
||||
|
||||
new_xeno << "<B>You are now an alien.</B>"
|
||||
new_xeno.update_pipe_vision()
|
||||
. = new_xeno
|
||||
qdel(src)
|
||||
|
||||
@@ -389,6 +398,7 @@
|
||||
new_slime.key = key
|
||||
|
||||
new_slime << "<B>You are now a slime. Skreee!</B>"
|
||||
new_slime.update_pipe_vision()
|
||||
. = new_slime
|
||||
qdel(src)
|
||||
|
||||
@@ -425,6 +435,7 @@
|
||||
new_corgi.key = key
|
||||
|
||||
new_corgi << "<B>You are now a Corgi. Yap Yap!</B>"
|
||||
new_corgi.update_pipe_vision()
|
||||
. = new_corgi
|
||||
qdel(src)
|
||||
|
||||
@@ -458,6 +469,7 @@
|
||||
|
||||
|
||||
new_mob << "You suddenly feel more... animalistic."
|
||||
new_mob.update_pipe_vision()
|
||||
. = new_mob
|
||||
qdel(src)
|
||||
|
||||
@@ -475,6 +487,7 @@
|
||||
new_mob.key = key
|
||||
new_mob.a_intent = "harm"
|
||||
new_mob << "You feel more... animalistic"
|
||||
new_mob.update_pipe_vision()
|
||||
|
||||
. = new_mob
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user