Update guardian.dm (#21058)

This commit is contained in:
Qwertytoforty
2023-05-22 22:06:40 +02:00
committed by GitHub
parent b3a5fd773c
commit 6e5718b8ce
+4
View File
@@ -49,6 +49,10 @@
/obj/screen/guardian/Manifest/Click()
if(isguardian(usr))
var/mob/living/simple_animal/hostile/guardian/G = usr
var/summoner_loc = G.summoner.loc
if(istype(summoner_loc, /obj/machinery/atmospherics))
to_chat(G, "<span class='warning'>You can not manifest while in these pipes!</span>")
return
if(G.loc == G.summoner)
G.Manifest()