Skip to content

Commit e21f57d

Browse files
committed
Use checker.
1 parent 6f6a2f2 commit e21f57d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ZkLobbyServer/ServerBattle.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,11 @@ public virtual void ValidateBattleStatus(UserBattleStatus ubs)
10611061
SayBattle("Your Rank (" + Ranks.RankNames[ubs.LobbyUser.Rank] + ") is too low. The minimum Rank to play in this battle is " + Ranks.RankNames[MinRank] + ".", ubs.Name);
10621062
}
10631063
}
1064-
if (ubs.QueueOrder <= 0) ubs.QueueOrder = ++QueueCounter;
1064+
if (ubs.QueueOrder <= 0)
1065+
{
1066+
ubs.QueueOrder = ++QueueCounter;
1067+
if IsInPreviousGame(ubs.Name) ubs.QueueOrder += 1000;
1068+
}
10651069
}
10661070
else
10671071
{

0 commit comments

Comments
 (0)