aboutsummaryrefslogtreecommitdiff
path: root/planetwars-matchrunner/src/pw_match.rs
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-matchrunner/src/pw_match.rs')
-rw-r--r--planetwars-matchrunner/src/pw_match.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/planetwars-matchrunner/src/pw_match.rs b/planetwars-matchrunner/src/pw_match.rs
index c9a7f7b..f5b803c 100644
--- a/planetwars-matchrunner/src/pw_match.rs
+++ b/planetwars-matchrunner/src/pw_match.rs
@@ -24,8 +24,8 @@ pub struct MatchConfig {
}
pub struct PwMatch {
- match_ctx: MatchCtx,
- match_state: PlanetWars,
+ pub match_ctx: MatchCtx,
+ pub match_state: PlanetWars,
}
impl PwMatch {
@@ -39,7 +39,7 @@ impl PwMatch {
}
}
- pub async fn run(mut self) {
+ pub async fn run(&mut self) {
while !self.match_state.is_finished() {
let player_messages = self.prompt_players().await;