Skip to content

Commit

Permalink
Fixes cleave conditions for the cleaving saw
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangelingRain committed Jul 12, 2017
1 parent 77f8b36 commit 2370e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mining/lavaland/necropolis_chests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
B.add_bleed(B.bleed_buildup)

/obj/item/weapon/melee/transforming/cleaving_saw/attack(mob/living/target, mob/living/carbon/human/user)
if(!active || swiping)
if(!active || swiping || !target.density || get_turf(target) == get_turf(user))
..()
else
var/turf/user_turf = get_turf(user)
Expand Down

0 comments on commit 2370e8c

Please sign in to comment.