Do not fire TerritoryChanged event on load

This commit is contained in:
Haselnussbomber 2025-08-15 18:08:41 +02:00
parent a3e3c392eb
commit 62bc90f5fa
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -184,7 +184,7 @@ internal sealed class ClientState : IInternalDisposableService, IClientState
private unsafe void Setup()
{
this.SetTerritoryType((ushort)GameMain.Instance()->CurrentTerritoryTypeId);
this.TerritoryType = (ushort)GameMain.Instance()->CurrentTerritoryTypeId;
}
private unsafe void SetupTerritoryTypeDetour(EventFramework* eventFramework, ushort territoryType)