Fixes mecha drill not working on windoors.

This commit is contained in:
LetterJay
2017-09-02 05:35:36 -05:00
parent d8679dbfcf
commit 78ed8f0913
2 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -421,7 +421,7 @@
target = safepick(view(3,target))
if(!target)
return
if(!target.Adjacent(src))
if(!Adjacent(target))
if(selected && selected.is_ranged())
if(selected.action(target,params))
selected.start_cooldown()