From d4d08be88067a07650c474fffad1c67e0295faee Mon Sep 17 00:00:00 2001 From: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Date: Wed, 17 Apr 2019 09:11:59 +1000 Subject: [PATCH] Fixes harpoon targeting obstructed tiles --- code/modules/vore/fluffstuff/guns/bsharpoon.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/vore/fluffstuff/guns/bsharpoon.dm b/code/modules/vore/fluffstuff/guns/bsharpoon.dm index f573cf017a5..0f7bc335a18 100644 --- a/code/modules/vore/fluffstuff/guns/bsharpoon.dm +++ b/code/modules/vore/fluffstuff/guns/bsharpoon.dm @@ -43,6 +43,9 @@ if(get_area(A).flags & BLUE_SHIELDED) to_chat(user, "The target area protected by bluespace shielding!") return + if(!(A in view(user, world.view))) + to_chat(user, "Harpoon fails to lock on the obstructed target!") + return last_fire = current_fire playsound(user, 'sound/weapons/wave.ogg', 60, 1)