mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
AStar update
This commit is contained in:
@@ -618,7 +618,7 @@ It can still be worn/put on as normal.
|
||||
if(!source || !target) return //Target or source no longer exist
|
||||
if(source.loc != s_loc) return //source has moved
|
||||
if(target.loc != t_loc) return //target has moved
|
||||
if (LinkBlockedUnclimbable(t_loc, s_loc)) return
|
||||
if(!in_range(source, target)) return
|
||||
if(item && source.get_active_hand() != item) return //Swapped hands / removed item from the active one
|
||||
if ((source.restrained() || source.stat)) return //Source restrained or unconscious / dead
|
||||
if(target.frozen)
|
||||
|
||||
Reference in New Issue
Block a user