From 856a6a17aa927e95e33cffcbd178efe86ce14262 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 9 Aug 2018 22:17:02 +0200 Subject: Rearranged random move selection to avoid expensive division --- src/engine/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine') diff --git a/src/engine/constants.rs b/src/engine/constants.rs index 2e80988..458251f 100644 --- a/src/engine/constants.rs +++ b/src/engine/constants.rs @@ -28,7 +28,7 @@ pub const ENERGY_CONSTRUCTION_TIME: u8 = 1; pub const DECONSTRUCT_ENERGY: u16 = 5; -pub const MAX_CONCURRENT_CONSTRUCTION: usize = 5; //2 teslas, and 3 of anything else +pub const MAX_CONCURRENT_CONSTRUCTION: usize = 6; //2 teslas, and 3 of anything else, 1 extra because it's push here then update construction times #[cfg(not(feature = "reduced-time"))] -- cgit v1.2.3