Skip to content

Commit

Permalink
Crashing into stuff while leaping will actually work now. (ParadiseSS…
Browse files Browse the repository at this point in the history
  • Loading branch information
FunnyMan3595 authored May 21, 2024
1 parent e20bbc6 commit da36e9f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/game/dna/mutations/mutation_powers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit da36e9f

Please sign in to comment.