Add missing TerritoryChange Code

This commit is contained in:
MidoriKami 2023-01-24 15:51:32 -08:00
parent 494ea5eb9f
commit 7d6432da05

View file

@ -135,6 +135,12 @@ public unsafe class DutyState : IDisposable, IServiceType
private void TerritoryOnChangedEvent(object? sender, ushort e)
{
if (this.IsDutyStarted)
{
this.IsDutyStarted = false;
}
this.CompletedThisTerritory = false;
}
/// <summary>