summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-06-25 20:26:05 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-06-25 20:26:05 +0200
commit286763000e4e5919c07f2840c64ecc7932530175 (patch)
tree5d89610326de388ec1937f07a9562df85699fe9e /src/input
parent7bf7d8d977733cb02258b4a79faf2417c52e9323 (diff)
Updated test cases and made engine work correctly according to tests
I don't think a tesla appeared in this match. I need to contrive a bot to build one.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/json.rs b/src/input/json.rs
index 95dbd46..a2f6d8c 100644
--- a/src/input/json.rs
+++ b/src/input/json.rs
@@ -188,7 +188,7 @@ impl BuildingBlueprint {
engine::settings::BuildingSettings {
price: self.price,
health: self.health,
- construction_time: self.construction_time-2,
+ construction_time: self.construction_time-1,
weapon_damage: self.weapon_damage,
weapon_speed: self.weapon_speed,
weapon_cooldown_period: self.weapon_cooldown_period,