]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Status effects disable light occluding (1-line PR) (#39418)
authorRed <96445749+TheShuEd@users.noreply.github.com>
Wed, 6 Aug 2025 11:02:14 +0000 (14:02 +0300)
committerGitHub <noreply@github.com>
Wed, 6 Aug 2025 11:02:14 +0000 (13:02 +0200)
Update StatusEffectsSystem.cs

Content.Shared/StatusEffectNew/StatusEffectsSystem.cs

index 7f8eef5102f5c4c49446af54e241ecd5b2f3742c..f1edcfe81990425199de903000d5692eeeaed7be 100644 (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)