Fix built-in modules not being recognized as

This commit is contained in:
JeremyStar™ 2024-04-08 21:37:39 +02:00
parent abcbce2dcd
commit 62602416d3
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -142,6 +142,7 @@ func register_custom_module(module_name: String, module_origin: String, module_c
module_class.name = module_name module_class.name = module_name
module_class.core = self module_class.core = self
module_class.loggeri = logger.get_instance(module_origin) module_class.loggeri = logger.get_instance(module_origin)
module_class.loggeri.framework = true
loggeri.diag("Adding module to SceneTree") loggeri.diag("Adding module to SceneTree")
custom_modules_node.add_child(module_class) custom_modules_node.add_child(module_class)
loggeri.diag("Merging module with custom_modules") loggeri.diag("Merging module with custom_modules")