]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes bolt lights of previously unpowered bolted doors (#33063)
authorPopGamer46 <yt1popgamer@gmail.com>
Fri, 1 Nov 2024 02:04:08 +0000 (03:04 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Nov 2024 02:04:08 +0000 (22:04 -0400)
fix

Content.Server/Doors/Systems/DoorSystem.cs

index 292f8ec8e97c12fc7caf92ccbd433c377886178a..754818619ac1445a11c38c4f1996544ea0fed129 100644 (file)
@@ -46,8 +46,8 @@ public sealed class DoorSystem : SharedDoorSystem
                 SetBoltsDown(ent, true);
         }
 
-        UpdateBoltLightStatus(ent);
         ent.Comp.Powered = args.Powered;
         Dirty(ent, ent.Comp);
+        UpdateBoltLightStatus(ent);
     }
 }