]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed Containment Generators not updating pointlight correctly (#42289)
authorTheFlyingSentry <170261226+TheFlyingSentry@users.noreply.github.com>
Wed, 14 Jan 2026 21:19:59 +0000 (16:19 -0500)
committerGitHub <noreply@github.com>
Wed, 14 Jan 2026 21:19:59 +0000 (21:19 +0000)
oh my god i've been overcomplicating this you don't want to know...

Content.Server/Singularity/EntitySystems/ContainmentFieldGeneratorSystem.cs

index 5c6d50ffd37bcba5e02e15e1c4370a35a582fb90..3c698e11b94c8b424331c63e58dba6c72cd2215c 100644 (file)
@@ -402,6 +402,7 @@ public sealed class ContainmentFieldGeneratorSystem : EntitySystem
     private void ChangeOnLightVisualizer(Entity<ContainmentFieldGeneratorComponent> generator)
     {
         _visualizer.SetData(generator, ContainmentFieldGeneratorVisuals.OnLight, generator.Comp.IsConnected);
+        UpdateConnectionLights(generator);
     }
     #endregion