Reset personnel locker overlays when lock/unlocking. (#19073)

This commit is contained in:
warriorstar-orion
2022-09-17 10:46:55 +01:00
committed by GitHub
parent f9defc92bf
commit 4874032e80
@@ -51,6 +51,8 @@
to_chat(user, "<span class='notice'>You can't reach the lock from inside.</span>")
else if(allowed(user) || !registered_name || (istype(I) && (registered_name == I.registered_name)))
cut_overlays()
//they can open all lockers, or nobody owns this, or they own this locker
locked = !locked
if(locked)