Crashing into stuff while leaping will actually work now. (#25545)

This commit is contained in:
Charlie Nolan
2024-05-21 03:45:00 +00:00
committed by GitHub
parent e20bbc6ca3
commit da36e9fc46
+4 -2
View File
@@ -562,11 +562,13 @@
for(var/atom/movable/hit_thing in turf_to_check)
if(isliving(hit_thing))
var/mob/living/hit_mob = hit_thing
return hit_mob.density
if(hit_mob.density)
return hit_mob
if(isobj(hit_thing))
var/obj/hit_obj = hit_thing
return hit_obj.density
if(hit_obj.density)
return hit_obj
return FALSE