Fixes bolt lights of previously unpowered bolted doors (#33063)

fix
This commit is contained in:
PopGamer46
2024-11-01 03:04:08 +01:00
committed by GitHub
parent 973aeb1aaa
commit d708a150e1

View File

@@ -46,8 +46,8 @@ public sealed class DoorSystem : SharedDoorSystem
SetBoltsDown(ent, true); SetBoltsDown(ent, true);
} }
UpdateBoltLightStatus(ent);
ent.Comp.Powered = args.Powered; ent.Comp.Powered = args.Powered;
Dirty(ent, ent.Comp); Dirty(ent, ent.Comp);
UpdateBoltLightStatus(ent);
} }
} }