Fixes shooting out of view windows

This commit is contained in:
CitadelStationBot
2017-05-22 07:44:10 -05:00
parent 5fd5e32628
commit 070ee9b86a
+2 -1
View File
@@ -92,7 +92,7 @@
if(next_move > world.time) // in the year 2000...
return
if(A.IsObscured())
if(!modifiers["catcher"] && A.IsObscured())
return
if(istype(loc,/obj/mecha))
@@ -446,6 +446,7 @@
C.swap_hand()
else
var/turf/T = params2turf(modifiers["screen-loc"], get_turf(usr))
params += "&catcher=1"
if(T)
T.Click(location, control, params)
. = 1