Merge pull request #10765 from Citadel-Station-13/kevinz000-patch-15
skittish sanity checks aka "Kev, this isn't a powergamer trait" they said, and now look where we are at?
This commit is contained in:
@@ -532,7 +532,7 @@
|
||||
/obj/structure/closet/CtrlShiftClick(mob/living/user)
|
||||
if(!HAS_TRAIT(user, TRAIT_SKITTISH))
|
||||
return ..()
|
||||
if(!user.canUseTopic(src) || !isturf(user.loc))
|
||||
if(!user.canUseTopic(src) || !isturf(user.loc) || !user.Adjacent(src) || !user.CanReach(src))
|
||||
return
|
||||
dive_into(user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user