aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/routes
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-08-25 20:47:00 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-08-25 20:47:00 +0200
commit624fa99fad0d41bfbd0f249ab054745a990a5d8c (patch)
tree7be783b84574c07020dc3021313706e445edc744 /planetwars-server/src/routes
parentf727613efb790dd927062c342f3cf16dd09e54c3 (diff)
downloadplanetwars.dev-624fa99fad0d41bfbd0f249ab054745a990a5d8c.tar.xz
planetwars.dev-624fa99fad0d41bfbd0f249ab054745a990a5d8c.zip
add map info to matches
Diffstat (limited to 'planetwars-server/src/routes')
-rw-r--r--planetwars-server/src/routes/demo.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/planetwars-server/src/routes/demo.rs b/planetwars-server/src/routes/demo.rs
index 82a9082..99b62d6 100644
--- a/planetwars-server/src/routes/demo.rs
+++ b/planetwars-server/src/routes/demo.rs
@@ -82,6 +82,8 @@ pub async fn submit_bot(
bot: Some(opponent_bot),
},
],
+ // TODO!
+ map: None,
};
let api_match = super::matches::match_data_to_api(full_match_data);