mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
@@ -222,7 +222,7 @@
|
||||
|
||||
/mob/living/carbon/human/show_inv(mob/user as mob)
|
||||
// TODO : Change to incapacitated() on merge.
|
||||
if(user.stat || user.lying || user.resting || user.buckled)
|
||||
if(user.stat || user.lying || user.resting || user.buckled || !user.Adjacent(src))
|
||||
return
|
||||
|
||||
var/obj/item/clothing/under/suit = null
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
return
|
||||
|
||||
// TODO : Change to incapacitated() on merge.
|
||||
if(user.stat || user.lying || user.resting || user.buckled)
|
||||
if(user.stat || user.lying || user.resting || user.buckled || !user.Adjacent(src))
|
||||
user << browse(null, text("window=mob[src.name]"))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user