From 32e3f839c4d8ec0cdee18bff8143eb649fd70ff9 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 19 Aug 2018 14:57:06 +0200 Subject: Tweaked performance for enegy tower limiting --- src/input/json.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input') diff --git a/src/input/json.rs b/src/input/json.rs index 843f228..6c83563 100644 --- a/src/input/json.rs +++ b/src/input/json.rs @@ -137,6 +137,8 @@ impl State { } } } + player.update_energy_towers_with_heuristics(); + opponent.update_energy_towers_with_heuristics(); bitwise_engine::BitwiseGameState::new( player, opponent, -- cgit v1.2.3