summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/json.rs2
1 files changed, 2 insertions, 0 deletions
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,