Makes it == to something

This commit is contained in:
ivanmixo
2020-06-19 18:48:42 +02:00
parent 39b38a223e
commit 8622bcfa3e
@@ -1,5 +1,5 @@
/datum/component/storage/concrete/wallet/on_alt_click(datum/source, mob/user)
if(!isliving(user) || !user.CanReach(parent) || SOFT_CRIT || UNCONSCIOUS)
if(!isliving(user) || !user.CanReach(parent) || (user.stat == SOFT_CRIT || UNCONSCIOUS))
return
if(locked)
to_chat(user, "<span class='warning'>[parent] seems to be locked!</span>")