summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-08-19 14:57:06 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-08-19 14:57:06 +0200
commit32e3f839c4d8ec0cdee18bff8143eb649fd70ff9 (patch)
tree2f6198e002f52380a94433e775d0a0eb2fd487d1 /src/input
parent0c1636355918a82df0ec188252c8f90487206c7b (diff)
Tweaked performance for enegy tower limiting
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,