From 9b2acd37718f2923857dd5239a9fec0f83419a6f Mon Sep 17 00:00:00 2001 From: Jeffrey Tan Date: Fri, 27 May 2022 14:10:02 -0700 Subject: [PATCH] separating layouts by module name as well --- src/routine/layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routine/layout.py b/src/routine/layout.py index 8c77a14f..bc717a1e 100644 --- a/src/routine/layout.py +++ b/src/routine/layout.py @@ -64,7 +64,7 @@ def __iter__(self): class Layout: """Uses a quadtree to represent possible player positions in a map layout.""" - LAYOUTS_DIR = os.path.join(config.RESOURCES_DIR, 'layouts') + LAYOUTS_DIR = os.path.join(config.RESOURCES_DIR, 'layouts', config.bot.module_name) TOLERANCE = settings.move_tolerance / 2 def __init__(self, name):