Merge branch 'master' of https://github.com/VOREStation/VOREStation into nanoformfixwoops

This commit is contained in:
Seris02
2023-02-06 17:05:24 +08:00
3 changed files with 15 additions and 1 deletions
+13 -1
View File
@@ -271,7 +271,19 @@
return FALSE
var/mob/living/carbon/human/prey = tmob
if(!istype(prey))
var/can_pass = TRUE
if (isturf(prey.loc))
for (var/atom/movable/M in prey.loc)
if (prey == M)
continue
if (istype(M, /mob/living))
var/mob/living/L = M
if (!(M.CanPass(src, prey.loc) || get_effective_size(FALSE) - L.get_effective_size(TRUE) >= 0.75))
can_pass = FALSE
continue
if (!M.CanPass(src, prey.loc))
can_pass = FALSE
if(!istype(prey) || !can_pass)
//If they're not human, steppy shouldn't happen
return FALSE