Skip to content

Commit

Permalink
Fixes lava staff being used through walls
Browse files Browse the repository at this point in the history
  • Loading branch information
imtakingabreakdontatme committed Jun 3, 2016
1 parent 73aec2d commit a2a4480
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
..()
if(lava_cooldown > world.time)
return
if(target && istype(target, /turf/open))
if(target && istype(target, /turf/open) && target in view(7,user))
var/turf/open/O = target
user.visible_message("<span class='danger'>[user] turns \the [O] into lava!</span>")
O.ChangeTurf(/turf/open/floor/plating/lava/smooth)
Expand Down

0 comments on commit a2a4480

Please sign in to comment.