Status effects disable light occluding (1-line PR) (#39418)

Update StatusEffectsSystem.cs
This commit is contained in:
Red
2025-08-06 14:02:14 +03:00
committed by GitHub
parent e122e02c86
commit 5181219f89

View File

@@ -69,6 +69,7 @@ public sealed partial class StatusEffectsSystem : EntitySystem
_container.EnsureContainer<Container>(ent, StatusEffectContainerComponent.ContainerId);
// We show the contents of the container to allow status effects to have visible sprites.
ent.Comp.ActiveStatusEffects.ShowContents = true;
ent.Comp.ActiveStatusEffects.OccludesLight = false;
}
private void OnStatusContainerShutdown(Entity<StatusEffectContainerComponent> ent, ref ComponentShutdown args)