From 5ac680b37dc601de4b30e68e84620151c4ab6643 Mon Sep 17 00:00:00 2001 From: Khopa Date: Thu, 6 Aug 2020 00:35:24 +0200 Subject: [PATCH] Slight change to base defense position calculations --- theater/start_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theater/start_generator.py b/theater/start_generator.py index 8e2069db..26820755 100644 --- a/theater/start_generator.py +++ b/theater/start_generator.py @@ -123,10 +123,10 @@ def generate_groundobjects(theater: ConflictTheater, game): cp_to_remove.append(cp) else: - for i in range(random.randint(3,6)): + for i in range(random.randint(3, 6)): logging.info("GENERATE BASE DEFENSE") - point = find_location(True, cp.position, theater, 1000, 2800, [], True) + point = find_location(True, cp.position, theater, 800, 3200, [], True) logging.info(point) if point is None: