Skip to content

Commit

Permalink
Update code/game/objects/structures/cabinet.dm
Browse files Browse the repository at this point in the history
Signed-off-by: FalloutFalcon <[email protected]>
  • Loading branch information
FalloutFalcon authored Sep 26, 2024
1 parent 91856b5 commit 44517a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/cabinet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
update_appearance()

/obj/structure/cabinet/Destroy()
if(stored)
if(istype(stored))
qdel(stored)
return ..()

Expand Down

0 comments on commit 44517a0

Please sign in to comment.