mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Merge pull request #13507 from SteelSlayer/borg-alt-click-fix
Cyborgs can't look inside storage containers with alt-click anymore
This commit is contained in:
@@ -83,13 +83,14 @@
|
||||
return
|
||||
|
||||
/obj/item/storage/AltClick(mob/user)
|
||||
if(Adjacent(user) && !user.incapacitated(FALSE, TRUE, TRUE))
|
||||
if(ishuman(user) && Adjacent(user) && !user.incapacitated(FALSE, TRUE, TRUE))
|
||||
orient2hud(user)
|
||||
if(user.s_active)
|
||||
user.s_active.close(user)
|
||||
show_to(user)
|
||||
playsound(loc, "rustle", 50, 1, -5)
|
||||
add_fingerprint(user)
|
||||
return ..()
|
||||
|
||||
/obj/item/storage/proc/return_inv()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user