mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Fixes altclicking wallet while unconscious or in soft crit
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/datum/component/storage/concrete/wallet/on_alt_click(datum/source, mob/user)
|
||||
if(!isliving(user) || !user.CanReach(parent))
|
||||
if(!isliving(user) || !user.CanReach(parent) || SOFT_CRIT || UNCONSCIOUS)
|
||||
return
|
||||
if(locked)
|
||||
to_chat(user, "<span class='warning'>[parent] seems to be locked!</span>")
|
||||
|
||||
Reference in New Issue
Block a user