mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Reset personnel locker overlays when lock/unlocking. (#19073)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user