Fixes harpoon targeting obstructed tiles

This commit is contained in:
Heroman3003
2019-04-17 09:11:59 +10:00
parent 4ea2cccecc
commit d4d08be880
@@ -43,6 +43,9 @@
if(get_area(A).flags & BLUE_SHIELDED)
to_chat(user, "<span class='warning'>The target area protected by bluespace shielding!</span>")
return
if(!(A in view(user, world.view)))
to_chat(user, "<span class='warning'>Harpoon fails to lock on the obstructed target!</span>")
return
last_fire = current_fire
playsound(user, 'sound/weapons/wave.ogg', 60, 1)