remove unneccesary print in game rules

This commit is contained in:
Ilion Beyst 2022-09-19 21:57:09 +02:00
parent 3138eca6d0
commit 6887c8ee0e

View file

@ -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);
}