From 6887c8ee0eeaea552f86881352ae8b742cbffb6e Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 19 Sep 2022 21:57:09 +0200 Subject: remove unneccesary print in game rules --- planetwars-rules/src/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'planetwars-rules/src/lib.rs') diff --git a/planetwars-rules/src/lib.rs b/planetwars-rules/src/lib.rs index 26382f1..021711c 100644 --- a/planetwars-rules/src/lib.rs +++ b/planetwars-rules/src/lib.rs @@ -84,7 +84,6 @@ impl PlanetWars { .ok_or(CommandError::DestinationDoesNotExist)?; if self.state.planets[origin_id].owner() != Some(player_id - 1) { - println!("owner was {:?}", self.state.planets[origin_id].owner()); return Err(CommandError::OriginNotOwned); } -- cgit v1.2.3