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

@@ -36,7 +36,7 @@ public sealed class ServerGlobalSoundSystem : SharedGlobalSoundSystem
private Filter GetStationAndPvs(EntityUid source)
{
var stationFilter = _stationSystem.GetInStation(source);
var stationFilter = _stationSystem.GetInOwningStation(source);
stationFilter.AddPlayersByPvs(source, entityManager: EntityManager);
return stationFilter;
}