Keep match ID when rematching
This commit is contained in:
parent
06085b69d0
commit
0c550b6f75
1 changed files with 1 additions and 1 deletions
|
@ -1061,7 +1061,7 @@ COMMANDS:
|
|||
} else if clientGame.rematch != 0 && clientGame.rematch != cmd.client.playerNumber {
|
||||
s.gamesLock.Lock()
|
||||
|
||||
newGame := newServerGame(<-s.newGameIDs, clientGame.Variant)
|
||||
newGame := newServerGame(clientGame.id, clientGame.Variant)
|
||||
newGame.name = clientGame.name
|
||||
newGame.Points = clientGame.Points
|
||||
newGame.password = clientGame.password
|
||||
|
|
Loading…
Reference in a new issue