Deduplicate & fix prediction reconciliation test (#18635)

This commit is contained in:
Leon Friedrich
2023-08-04 14:21:44 +12:00
committed by GitHub
parent 0e22c2f6e1
commit 9c2af43af6
8 changed files with 83 additions and 1034 deletions

View File

@@ -35,7 +35,6 @@ namespace Content.Server.Cargo.Systems
SubscribeLocalEvent<CargoOrderConsoleComponent, CargoConsoleApproveOrderMessage>(OnApproveOrderMessage);
SubscribeLocalEvent<CargoOrderConsoleComponent, BoundUIOpenedEvent>(OnOrderUIOpened);
SubscribeLocalEvent<CargoOrderConsoleComponent, ComponentInit>(OnInit);
SubscribeLocalEvent<RoundRestartCleanupEvent>(Reset);
Reset();
}
@@ -45,11 +44,6 @@ namespace Content.Server.Cargo.Systems
UpdateOrderState(uid, station);
}
private void Reset(RoundRestartCleanupEvent ev)
{
Reset();
}
private void Reset()
{
_timer = 0;