Ghosts don't use stairs

This commit is contained in:
atermonera
2021-03-03 22:28:23 -09:00
parent 113e2e6068
commit aab9d22f98
+6
View File
@@ -196,6 +196,9 @@
return TRUE
/obj/structure/stairs/bottom/instant_stairs(var/atom/movable/AM)
if(isobserver(AM)) // Ghosts have their own methods for going up and down
return
if(isliving(AM))
var/mob/living/L = AM
@@ -436,6 +439,9 @@
return TRUE
/obj/structure/stairs/top/instant_stairs(var/atom/movable/AM)
if(isobserver(AM)) // Ghosts have their own methods for going up and down
return
if(isliving(AM))
var/mob/living/L = AM