Skip to content

Commit 3f8c825

Browse files
committed
Start bisecting.
1 parent 62c6f54 commit 3f8c825

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

ZkLobbyServer/ServerBattle.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public ConnectSpring GetConnectSpringStructure(string scriptPassword, bool isSpe
211211
public bool IsInPreviousGame(string name)
212212
{
213213
var inPrevious = false;
214-
if (previousGamePlayers.Any(y => y == name)) inPrevious = true;
214+
if (previousGamePlayers.Any(y => y.Name == name)) inPrevious = true;
215215
return inPrevious;
216216
}
217217

@@ -1134,16 +1134,6 @@ protected virtual async Task OnDedicatedExited(SpringBattleContext springBattleC
11341134
//Initiate discussion time, then map vote, then start vote
11351135
discussionTimer.Interval = (DiscussionSeconds - 1) * 1000;
11361136
discussionTimer.Start();
1137-
previousGamePlayers = springBattleContext.ActualPlayers.Select(x => x.Name);
1138-
foreach (var name in previousGamePlayers)
1139-
{
1140-
UserBattleStatus ubs;
1141-
if (Users.TryGetValue(name, out ubs))
1142-
{
1143-
ubs.QueueOrder = -1;
1144-
ValidateBattleStatus(ubs);
1145-
}
1146-
}
11471137
}
11481138
}
11491139
await CheckCloseBattle();

0 commit comments

Comments
 (0)