You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Do not rely on the existence of config.py while detecting modules
The existence of `SCsub` is checked instead. This file is required for all modules, and prevents the build system to leave modules without `config.py` undetected, leading to silently ignoring the module during compilation.
This commit is contained in:
@@ -155,7 +155,7 @@ def detect_modules(at_path):
|
||||
|
||||
|
||||
def is_module(path):
|
||||
return os.path.isdir(path) and os.path.exists(path + "/config.py")
|
||||
return os.path.isdir(path) and os.path.exists(os.path.join(path, "SCsub"))
|
||||
|
||||
|
||||
def write_modules(module_list):
|
||||
|
||||
Reference in New Issue
Block a user