aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/modules/ranking.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-30 17:03:32 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-30 17:03:32 +0200
commitee5c67c092acc57a6ef2b8f7934ba827df43add6 (patch)
tree83d8ac11ed7335ac9d992b06bd26e2906aa2a671 /planetwars-server/src/modules/ranking.rs
parent1d280c62e23cf1f52398c4fe11474fdde4aaa74c (diff)
downloadplanetwars.dev-ee5c67c092acc57a6ef2b8f7934ba827df43add6.tar.xz
planetwars.dev-ee5c67c092acc57a6ef2b8f7934ba827df43add6.zip
add is_public to matches
Diffstat (limited to 'planetwars-server/src/modules/ranking.rs')
-rw-r--r--planetwars-server/src/modules/ranking.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/modules/ranking.rs b/planetwars-server/src/modules/ranking.rs
index cb699fe..dff3a72 100644
--- a/planetwars-server/src/modules/ranking.rs
+++ b/planetwars-server/src/modules/ranking.rs
@@ -53,7 +53,7 @@ async fn play_ranking_match(
players.push(player);
}
- let (_, handle) = RunMatch::from_players(config, players)
+ let (_, handle) = RunMatch::from_players(config, true, players)
.run(db_pool.clone())
.await
.expect("failed to run match");