Merge pull request #13859 from Cameron653/FLYING

ALL TERRAIN WINGS
This commit is contained in:
Casey
2022-10-10 03:03:42 +00:00
committed by CHOMPStation2
parent 0972599a01
commit 9665bac0b5
8 changed files with 23 additions and 12 deletions
+2 -2
View File
@@ -153,7 +153,7 @@ two tiles on initialization, and which way a cliff is facing may change during m
/obj/structure/cliff/CanPass(atom/movable/mover, turf/target)
if(isliving(mover))
var/mob/living/L = mover
if(L.hovering) // Flying mobs can always pass.
if(L.hovering || L.flying) // Flying mobs can always pass.
return TRUE
return ..()
@@ -174,7 +174,7 @@ two tiles on initialization, and which way a cliff is facing may change during m
..()
/obj/structure/cliff/proc/should_fall(mob/living/L)
if(L.hovering)
if(L.hovering || L.flying)
return FALSE
var/turf/T = get_turf(L)