From dbdaeb5134dbea5ef837866dfb2dc7a57ca6cbc3 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Fri, 10 Apr 2020 23:42:48 +0200 Subject: Tick boost --- src/state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state.rs b/src/state.rs index 6285e75..ac25f0d 100644 --- a/src/state.rs +++ b/src/state.rs @@ -62,6 +62,7 @@ impl GameState { fn do_command(&mut self, player_index: usize, command: &Command) { use Command::*; + self.players[player_index].tick_boost(); // TODO: Command validation assertions match command { -- cgit v1.2.3