nginx acp stuff
This commit is contained in:
@@ -396,9 +396,11 @@ impl Instance {
|
||||
|
||||
// if you don't win, you lose
|
||||
// ties can happen if both players forfeit
|
||||
// in this case we just finish the game and
|
||||
// dock them 10k mmr
|
||||
let winner_id = match game.winner() {
|
||||
Some(w) => w.id,
|
||||
None => Uuid::nil(),
|
||||
None => return Ok(self.finish()),
|
||||
};
|
||||
|
||||
for player in game.players.iter() {
|
||||
|
||||
Reference in New Issue
Block a user