Fix restart error (#10591)

This commit is contained in:
Leon Friedrich
2022-08-15 07:54:11 +12:00
committed by GitHub
parent d08b84c002
commit c535214aa2
2 changed files with 12 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ using Robust.Shared.ContentPack;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
using Content.Server.Station.Systems;
namespace Content.Server.Entry
{
@@ -160,6 +161,7 @@ namespace Content.Server.Entry
protected override void Dispose(bool disposing)
{
_playTimeTracking?.Shutdown();
IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<StationSystem>().OnServerDispose();
}
}
}