mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Fixes inventory bug
Fixes the bug where you couldn't interact with someone's inventory when they were on top of a structure, such as a table
This commit is contained in:
@@ -607,7 +607,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(LinkBlocked(s_loc,t_loc)) return //Use a proxi!
|
||||
if (LinkBlockedUnclimbable(t_loc, s_loc)) 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user