diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-09-19 21:57:09 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-09-19 21:57:09 +0200 |
commit | 6887c8ee0eeaea552f86881352ae8b742cbffb6e (patch) | |
tree | cea9e2a7d201014dbe0baae0ece6d0e526e93818 /planetwars-rules | |
parent | 3138eca6d041aafc5dbee2480b966591f84154f9 (diff) | |
download | planetwars.dev-6887c8ee0eeaea552f86881352ae8b742cbffb6e.tar.xz planetwars.dev-6887c8ee0eeaea552f86881352ae8b742cbffb6e.zip |
remove unneccesary print in game rules
Diffstat (limited to 'planetwars-rules')
-rw-r--r-- | planetwars-rules/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |