Ports Closet & Crate Initialization Fixes

Ports a similarly named pull request (thank you cool cat).
This commit is contained in:
Dap
2019-11-10 14:17:34 -07:00
parent c4849ead74
commit 041c35202b
2 changed files with 3 additions and 5 deletions
@@ -44,7 +44,7 @@
update_icon()
PopulateContents()
if(mapload && !opened) // if closed, any item at the crate's loc is put in the contents
take_contents()
addtimer(CALLBACK(src, .proc/take_contents), 0)
if(secure)
lockerelectronics = new(src)
lockerelectronics.accesses = req_access