ismecha define
This commit is contained in:
committed by
CitadelStationBot
parent
cc93f1e546
commit
3e26e09db8
@@ -48,7 +48,7 @@
|
||||
if(pockets && over_object == M)
|
||||
return pockets.MouseDrop(over_object)
|
||||
|
||||
if(istype(usr.loc, /obj/mecha)) // stops inventory actions in a mech
|
||||
if(ismecha(M.loc)) // stops inventory actions in a mech
|
||||
return
|
||||
|
||||
if(!M.incapacitated() && loc == M && istype(over_object, /obj/screen/inventory/hand))
|
||||
|
||||
Reference in New Issue
Block a user