aboutsummaryrefslogtreecommitdiff
path: root/planetwars-matchrunner/src/pw_match.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-03 20:46:40 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-03 20:46:40 +0100
commit0a102a93716d85d7a1c3ef280761d615cfdd738b (patch)
treea38864ea2bb2bbbc5976ee9654f3e5855f155fc2 /planetwars-matchrunner/src/pw_match.rs
parentaf7627d346725c974b012df8eb6ebc2a630adf4c (diff)
downloadplanetwars.dev-0a102a93716d85d7a1c3ef280761d615cfdd738b.tar.xz
planetwars.dev-0a102a93716d85d7a1c3ef280761d615cfdd738b.zip
remove send_info method
Diffstat (limited to 'planetwars-matchrunner/src/pw_match.rs')
-rw-r--r--planetwars-matchrunner/src/pw_match.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-matchrunner/src/pw_match.rs b/planetwars-matchrunner/src/pw_match.rs
index 42bc9d2..25f849e 100644
--- a/planetwars-matchrunner/src/pw_match.rs
+++ b/planetwars-matchrunner/src/pw_match.rs
@@ -45,7 +45,7 @@ impl PwMatch {
let res = self.execute_action(player_id, turn);
if let Some(err) = action_errors(res) {
let info_str = serde_json::to_string(&err).unwrap();
- self.match_ctx.send_info(player_id as u32, info_str);
+ println!("player {}: {}", player_id, info_str);
}
}
self.match_state.step();