Condenses a check

This commit is contained in:
Jordan Brown
2018-04-29 10:05:23 -05:00
committed by KorPhaeron
parent 44d3f505c5
commit 61bfefea09
+1 -1
View File
@@ -363,7 +363,7 @@
/obj/screen/storage/Click(location, control, params)
if(world.time <= usr.next_move)
return TRUE
if(usr.stat || usr.IsUnconscious() || usr.IsKnockdown() || usr.IsStun())
if(usr.incapacitated())
return TRUE
if (ismecha(usr.loc)) // stops inventory actions in a mech
return TRUE