Fix some bugs in stations and do a little cleanup. (#10787)

This commit is contained in:
Moony
2022-08-23 02:32:02 -05:00
committed by GitHub
parent 276f9568ca
commit 9de3612b24
3 changed files with 47 additions and 16 deletions

View File

@@ -173,7 +173,7 @@ public sealed class AlertLevelSystem : EntitySystem
{
if (detail.Sound != null)
{
var filter = _stationSystem.GetInStation(station);
var filter = _stationSystem.GetInOwningStation(station);
SoundSystem.Play(detail.Sound.GetSound(), filter, detail.Sound.Params);
}
else