[Fix] Some fixes (#484)

* fix mood not resolved

* fixed cpr sound stream

* fix welded airlock not showing lights

* update rep weights

* tweak player reputation weights

* fix for mood fix
This commit is contained in:
HitPanda
2023-10-11 21:18:46 +03:00
committed by Aviu00
parent 44995139f7
commit b8d28ceb37
4 changed files with 30 additions and 18 deletions

View File

@@ -102,6 +102,7 @@ public sealed class AirlockSystem : SharedAirlockSystem
(state == DoorState.Closing
|| state == DoorState.Opening
|| state == DoorState.Denying
|| state == DoorState.Welded
|| (state == DoorState.Open && comp.OpenUnlitVisible)
|| (_appearanceSystem.TryGetData<bool>(uid, DoorVisuals.ClosedLights, out var closedLights, args.Component) && closedLights))
&& !boltedVisible && !emergencyLightsVisible; ;