Shuttle impact sounds (#11099)

This commit is contained in:
metalgearsloth
2022-10-04 16:00:44 +11:00
committed by GitHub
parent ca3f5bef59
commit e96cfc83ed
6 changed files with 66 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ namespace Content.Server.Shuttles.Systems
{
[Dependency] private readonly IMapManager _mapManager = default!;
[Dependency] private readonly FixtureSystem _fixtures = default!;
[Dependency] private readonly SharedAudioSystem _audio = default!;
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
[Dependency] private readonly UserInterfaceSystem _uiSystem = default!;
@@ -36,6 +37,7 @@ namespace Content.Server.Shuttles.Systems
InitializeEscape();
InitializeFTL();
InitializeIFF();
InitializeImpact();
SubscribeLocalEvent<ShuttleComponent, ComponentAdd>(OnShuttleAdd);
SubscribeLocalEvent<ShuttleComponent, ComponentStartup>(OnShuttleStartup);