Fix item slots spawning entities on startup instead of map init (#5501)

* spawn item slot entities on map init not startup

* prevent locked state form destroying inheritance on save

* fix whitelist for booze dispenser
This commit is contained in:
Leon Friedrich
2021-11-25 05:29:49 +13:00
committed by GitHub
parent 20baa5a2b9
commit 3cf05535bd
4 changed files with 9 additions and 9 deletions

View File

@@ -101,7 +101,7 @@ namespace Content.Shared.Containers.ItemSlots
/// This doesn't have to mean the slot is somehow physically locked. In the case of the item cabinet, the
/// cabinet may simply be closed at the moment and needs to be opened first.
/// </remarks>
[DataField("locked")]
[DataField("locked", readOnly: true)]
[ViewVariables(VVAccess.ReadWrite)]
public bool Locked = false;