remove unneccesary print in game rules
This commit is contained in:
parent
3138eca6d0
commit
6887c8ee0e
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ impl PlanetWars {
|
||||||
.ok_or(CommandError::DestinationDoesNotExist)?;
|
.ok_or(CommandError::DestinationDoesNotExist)?;
|
||||||
|
|
||||||
if self.state.planets[origin_id].owner() != Some(player_id - 1) {
|
if self.state.planets[origin_id].owner() != Some(player_id - 1) {
|
||||||
println!("owner was {:?}", self.state.planets[origin_id].owner());
|
|
||||||
return Err(CommandError::OriginNotOwned);
|
return Err(CommandError::OriginNotOwned);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue