mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +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
|
# Default path for module icons
|
||||||
env.module_icons_paths.append(path + "/" + "icons")
|
env.module_icons_paths.append(path + "/" + "icons")
|
||||||
modules_enabled[name] = path
|
modules_enabled[name] = path
|
||||||
|
else:
|
||||||
|
env["module_" + name + "_enabled"] = False
|
||||||
|
|
||||||
sys.path.remove(path)
|
sys.path.remove(path)
|
||||||
sys.modules.pop("config")
|
sys.modules.pop("config")
|
||||||
|
Loading…
Reference in New Issue
Block a user