I did a stupid

This commit is contained in:
Unknown
2019-04-24 20:26:12 -04:00
parent f21c5e4430
commit 4f70cf5865

View File

@@ -7,15 +7,15 @@
unacidable = 1//Can't destroy energy portals.
var/failchance = 0
anchored = 1
var/obj/structure/portal/target
var/obj/structure/portal_subtle/target
/obj/structure/portal/Destroy()
/obj/structure/portal_subtle/Destroy()
if(target)
target.target = null
target = null
return ..()
/obj/structure/portal/Bumped(mob/M as mob|obj)
/obj/structure/portal_subtle/Bumped(mob/M as mob|obj)
if(istype(M,/mob) && !(istype(M,/mob/living)))
return //do not send ghosts, zshadows, ai eyes, etc
spawn(0)
@@ -23,7 +23,7 @@
return
return
/obj/structure/portal/Crossed(AM as mob|obj)
/obj/structure/portal_subtle/Crossed(AM as mob|obj)
if(istype(AM,/mob) && !(istype(AM,/mob/living)))
return //do not send ghosts, zshadows, ai eyes, etc
spawn(0)
@@ -31,7 +31,7 @@
return
return
/obj/structure/portal/attack_hand(mob/user as mob)
/obj/structure/portal_subtle/attack_hand(mob/user as mob)
if(istype(user) && !(istype(user,/mob/living)))
return //do not send ghosts, zshadows, ai eyes, etc
spawn(0)
@@ -39,7 +39,7 @@
return
return
/obj/structure/portal/proc/teleport(atom/movable/M as mob|obj)
/obj/structure/portal_subtle/proc/teleport(atom/movable/M as mob|obj)
if(istype(M, /obj/effect)) //sparks don't teleport
return
if (M.anchored&&istype(M, /obj/mecha))