mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Merge pull request #5075 from Heroman3003/harpoon-fixing
Fixes bluespace harpoon targeting obstructed tiles
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user