Ensure Engine can locate legacy modules

This commit is contained in:
2025-10-26 02:57:22 -06:00
parent 6f7ed47bf6
commit b3fdd63d2b

View File

@@ -93,6 +93,7 @@ _ENGINE_DIR = Path(__file__).resolve().parent
_SEARCH_ROOTS = [
_ENGINE_DIR.parent / "Server",
_ENGINE_DIR.parent.parent / "Data" / "Server",
_ENGINE_DIR.parent.parent.parent / "Data" / "Server",
]
for root in _SEARCH_ROOTS:
modules_dir = root / "Modules"