mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Fixes mechs click through windows and what not
I ded plz fix
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
target = safepick(view(3,target))
|
||||
if(!target)
|
||||
return
|
||||
if(get_dist(src, target)>1)
|
||||
if(!target.Adjacent(src))
|
||||
if(selected && selected.is_ranged())
|
||||
selected.action(target)
|
||||
else if(selected && selected.is_melee())
|
||||
|
||||
Reference in New Issue
Block a user