Everything else through the door (#19358)

This commit is contained in:
Vi3trice
2022-10-13 21:56:58 +02:00
committed by GitHub
parent 2410930b2b
commit 59dfdba201
134 changed files with 200 additions and 200 deletions
+4 -4
View File
@@ -504,7 +504,7 @@
M.lastarea = src
if(!istype(A,/mob/living)) return
if(!isliving(A)) return
var/mob/living/L = A
if(!L.ckey) return
@@ -526,7 +526,7 @@
thunk(M)
/area/proc/thunk(mob/living/carbon/human/M)
if(istype(M,/mob/living/carbon/human/)) // Only humans can wear magboots, so we give them a chance to.
if(ishuman(M)) // Only humans can wear magboots, so we give them a chance to.
if(istype(M.shoes, /obj/item/clothing/shoes/magboots) && (M.shoes.flags & NOSLIP))
return
@@ -539,10 +539,10 @@
if(isspaceturf(get_turf(M))) // Can't fall onto nothing.
return
if((istype(M,/mob/living/carbon/human/)) && (M.m_intent == MOVE_INTENT_RUN))
if((ishuman(M)) && (M.m_intent == MOVE_INTENT_RUN))
M.Weaken(10 SECONDS)
else if(istype(M,/mob/living/carbon/human/))
else if(ishuman(M))
M.Weaken(4 SECONDS)