Closet appearance decls correctly use the repository (#8154)

* Closet appearance decls correctly use the repository

* GET_DECL
This commit is contained in:
Atermonera
2021-06-27 22:45:23 -07:00
committed by GitHub
parent f97d1b884b
commit 671b5e7ea4
4 changed files with 2 additions and 10 deletions

View File

@@ -59,7 +59,7 @@
storage_capacity = content_size + 5
if(ispath(closet_appearance))
var/decl/closet_appearance/app = GLOB.closet_appearances[closet_appearance]
var/decl/closet_appearance/app = GET_DECL(closet_appearance)
if(app)
icon = app.icon
color = null