mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Main build script: Properly set module_ name _enabled in environment to false for modules that get disabled using can_build().
This commit is contained in:
parent
53f274de2f
commit
6f66cad2cb
@ -606,6 +606,8 @@ if selected_platform in platform_list:
|
||||
# Default path for module icons
|
||||
env.module_icons_paths.append(path + "/" + "icons")
|
||||
modules_enabled[name] = path
|
||||
else:
|
||||
env["module_" + name + "_enabled"] = False
|
||||
|
||||
sys.path.remove(path)
|
||||
sys.modules.pop("config")
|
||||
|
Loading…
Reference in New Issue
Block a user