Skip to content

Commit

Permalink
update hardcoded literal in Fellowship.AddConfirmedMember to proper c…
Browse files Browse the repository at this point in the history
…onst (#4092)

* update hardcoded literal in Fellowship.AddConfirmedMember to proper const

* consistency
  • Loading branch information
gmriggs authored Jan 18, 2024
1 parent 47298c1 commit f328b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ACE.Server/Entity/Fellowship.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void AddFellowshipMember(Player inviter, Player newMember)
}
}

if (FellowshipMembers.Count == MaxFellows)
if (FellowshipMembers.Count >= MaxFellows)
{
inviter.Session.Network.EnqueueSend(new GameEventWeenieError(inviter.Session, WeenieError.YourFellowshipIsFull));
return;
Expand Down Expand Up @@ -148,7 +148,7 @@ public void AddConfirmedMember(Player inviter, Player player, bool response)
return;
}

if (FellowshipMembers.Count == 9)
if (FellowshipMembers.Count >= MaxFellows)
{
inviter.Session.Network.EnqueueSend(new GameEventWeenieError(inviter.Session, WeenieError.YourFellowshipIsFull));
return;
Expand Down

0 comments on commit f328b57

Please sign in to comment.