aboutsummaryrefslogtreecommitdiff
path: root/planetwars-rules/src
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-09-19 21:57:09 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-09-19 21:57:09 +0200
commit6887c8ee0eeaea552f86881352ae8b742cbffb6e (patch)
treecea9e2a7d201014dbe0baae0ece6d0e526e93818 /planetwars-rules/src
parent3138eca6d041aafc5dbee2480b966591f84154f9 (diff)
downloadplanetwars.dev-6887c8ee0eeaea552f86881352ae8b742cbffb6e.tar.xz
planetwars.dev-6887c8ee0eeaea552f86881352ae8b742cbffb6e.zip
remove unneccesary print in game rules
Diffstat (limited to 'planetwars-rules/src')
-rw-r--r--planetwars-rules/src/lib.rs1
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);
}