Skip to content

Commit b9cd717

Browse files
committed
fix wrong condition
1 parent 33c9545 commit b9cd717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Intersect.Server.Core/Entities/Player.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ public void GiveExperience(long amount)
13811381

13821382
public void TakeExperience(long amount, bool enableLosingLevels = false, bool force = false)
13831383
{
1384-
if (!force || (Options.Instance.Map.DisableExpLossInArenaMaps && Map.ZoneType == MapZone.Arena))
1384+
if (!force && Options.Instance.Map.DisableExpLossInArenaMaps && Map.ZoneType == MapZone.Arena)
13851385
{
13861386
return;
13871387
}

0 commit comments

Comments
 (0)