You can now lock lockers with alt click

This commit is contained in:
Matt Atlas
2019-09-06 21:52:08 +02:00
committed by Werner
parent b82283d687
commit 16a0c7fc61
2 changed files with 45 additions and 0 deletions
@@ -67,6 +67,10 @@
else
to_chat(user, "<span class='notice'>Access Denied</span>")
/obj/structure/closet/secure_closet/AltClick(mob/user)
. = ..()
togglelock(user)
/obj/structure/closet/secure_closet/proc/CanChainsaw(var/obj/item/weapon/material/twohanded/chainsaw/ChainSawVar)
return (ChainSawVar.powered && !opened && !broken)