Status effects disable light occluding (1-line PR) (#39418)
Update StatusEffectsSystem.cs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user