From 0ea3391af0e4240d7aa9bb0c7639a7d14a12c047 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Wed, 26 May 2021 19:05:04 +0200 Subject: [PATCH] Stacks get their count appearance set on startup. --- Content.Shared/GameObjects/EntitySystems/SharedStackSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Shared/GameObjects/EntitySystems/SharedStackSystem.cs b/Content.Shared/GameObjects/EntitySystems/SharedStackSystem.cs index b7d622fdcc..6f6f7e2da0 100644 --- a/Content.Shared/GameObjects/EntitySystems/SharedStackSystem.cs +++ b/Content.Shared/GameObjects/EntitySystems/SharedStackSystem.cs @@ -22,6 +22,7 @@ namespace Content.Shared.GameObjects.EntitySystems if (!ComponentManager.TryGetComponent(uid, out SharedAppearanceComponent? appearance)) return; + appearance.SetData(StackVisuals.Actual, component.Count); appearance.SetData(StackVisuals.MaxCount, component.MaxCount); appearance.SetData(StackVisuals.Hide, false); }