From 708281661fb44bffbdff5960af0c5a727770f93d Mon Sep 17 00:00:00 2001 From: Aron Granberg Date: Sat, 20 Jan 2018 17:01:32 +0100 Subject: [PATCH] Make rocket research reduce travel time, not increase it --- battlecode-engine/src/world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battlecode-engine/src/world.rs b/battlecode-engine/src/world.rs index e940672..b090eff 100644 --- a/battlecode-engine/src/world.rs +++ b/battlecode-engine/src/world.rs @@ -1974,7 +1974,7 @@ impl GameWorld { self.my_unit_mut(rocket_id)?.launch_rocket(); let landing_round = self.round + self.orbit.duration(self.round) - + self.my_unit(rocket_id)?.rocket_travel_time_decrease().unwrap(); + - self.my_unit(rocket_id)?.rocket_travel_time_decrease().unwrap(); self.my_team_mut().rocket_landings.add_landing( landing_round, RocketLanding::new(rocket_id, destination) );