mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73486c399b
commit
ed79946ade
@@ -300,7 +300,7 @@
|
||||
for (var/atom/movable/M in prey.loc)
|
||||
if (prey == M || pred == M)
|
||||
continue
|
||||
if (istype(M, /mob/living))
|
||||
if (isliving(M))
|
||||
var/mob/living/L = M
|
||||
if (!M.CanPass(src, prey.loc) && !(get_effective_size(FALSE) - L.get_effective_size(TRUE) >= size_ratio_needed || L.lying))
|
||||
can_pass = FALSE
|
||||
|
||||
Reference in New Issue
Block a user