mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
SCons: Fix build error on invalid module folders
This commit is contained in:
parent
b5b2ca8143
commit
bb90707709
@ -1274,6 +1274,8 @@ def detect_modules():
|
||||
for x in files:
|
||||
if (not os.path.isdir(x)):
|
||||
continue
|
||||
if (not os.path.exists(x + "/config.py")):
|
||||
continue
|
||||
x = x.replace("modules/", "") # rest of world
|
||||
x = x.replace("modules\\", "") # win32
|
||||
module_list.append(x)
|
||||
|
Loading…
Reference in New Issue
Block a user