Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: social update only showed in duty.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Oct 6, 2023
1 parent 4c17d75 commit 5e6d80f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RotationSolver/Updaters/SocialUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@ static void ClientState_TerritoryChanged(ushort id)
DataCenter.ResetAllLastActions();

var territory = Service.GetSheet<TerritoryType>().GetRow(id);
if (territory?.ContentFinderCondition?.Value?.RowId != 0)
{
_canSaying = true;
}
_canSaying = territory?.ContentFinderCondition?.Value?.RowId != 0;

InPvp = territory?.IsPvpZone ?? false;

DataCenter.TerritoryContentType = (TerritoryContentType)(territory?.ContentFinderCondition?.Value?.ContentType?.Value?.RowId ?? 0);
Expand Down

0 comments on commit 5e6d80f

Please sign in to comment.