Skip to content

Commit

Permalink
Fix IsPvPExcludingDen
Browse files Browse the repository at this point in the history
  • Loading branch information
Aireil authored Nov 24, 2024
1 parent dbbc230 commit 0469a01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dalamud/Game/ClientState/ClientState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public unsafe bool IsLoggedIn
public bool IsPvP { get; private set; }

/// <inheritdoc/>
public bool IsPvPExcludingDen { get; private set; }
public bool IsPvPExcludingDen => this.IsPvP && this.TerritoryType != 250;

/// <inheritdoc />
public bool IsGPosing => GameMain.IsInGPose();
Expand Down Expand Up @@ -195,7 +195,6 @@ private unsafe void SetupTerritoryTypeDetour(EventFramework* eventFramework, ush
if (isPvP != this.IsPvP)
{
this.IsPvP = isPvP;
this.IsPvPExcludingDen = this.IsPvP && this.TerritoryType != 250;

if (this.IsPvP)
{
Expand Down

0 comments on commit 0469a01

Please sign in to comment.