mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 13:14:17 +01:00
Add missing TerritoryChange Code
This commit is contained in:
parent
494ea5eb9f
commit
7d6432da05
1 changed files with 6 additions and 0 deletions
|
|
@ -135,6 +135,12 @@ public unsafe class DutyState : IDisposable, IServiceType
|
||||||
|
|
||||||
private void TerritoryOnChangedEvent(object? sender, ushort e)
|
private void TerritoryOnChangedEvent(object? sender, ushort e)
|
||||||
{
|
{
|
||||||
|
if (this.IsDutyStarted)
|
||||||
|
{
|
||||||
|
this.IsDutyStarted = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.CompletedThisTerritory = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue