Skip to content

Commit 6f6a2f2

Browse files
committed
Add checker.
1 parent 5c75027 commit 6f6a2f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ZkLobbyServer/ServerBattle.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ public ConnectSpring GetConnectSpringStructure(string scriptPassword, bool isSpe
208208
};
209209
}
210210

211+
public bool IsInPreviousGame(string name)
212+
{
213+
var inPrevious = false;
214+
if (previousGamePlayers.Any(y => y == name)) inPrevious = true;
215+
return inPrevious;
216+
}
217+
211218
public bool IsKicked(string name)
212219
{
213220
var kicked = false;

0 commit comments

Comments
 (0)