From 0a102a93716d85d7a1c3ef280761d615cfdd738b Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 3 Feb 2022 20:46:40 +0100 Subject: remove send_info method --- planetwars-matchrunner/src/pw_match.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'planetwars-matchrunner/src/pw_match.rs') 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(); -- cgit v1.2.3