Update bolt light after bolts fall (#13636)
This commit is contained in:
@@ -202,6 +202,7 @@ namespace Content.Server.Doors.Systems
|
|||||||
|
|
||||||
component.BoltsDown = newBolts;
|
component.BoltsDown = newBolts;
|
||||||
Audio.PlayPvs(newBolts ? component.BoltDownSound : component.BoltUpSound, uid);
|
Audio.PlayPvs(newBolts ? component.BoltDownSound : component.BoltUpSound, uid);
|
||||||
|
UpdateBoltLightStatus(uid, component);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool GetBoltLightsVisible(EntityUid uid, AirlockComponent component)
|
public bool GetBoltLightsVisible(EntityUid uid, AirlockComponent component)
|
||||||
|
|||||||
Reference in New Issue
Block a user