diff options
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs index be42228..acbce80 100644 --- a/src/state.rs +++ b/src/state.rs @@ -231,7 +231,7 @@ impl GameState { pub fn good_moves(&self, player_index: usize) -> Vec<Command> { let player = &self.players[player_index]; - let mut result = Vec::with_capacity(7); + let mut result = Vec::with_capacity(5); result.push(Command::Accelerate); if player.position.y > MIN_Y { result.push(Command::TurnLeft); |