Browse Source

set default (true) case for findModules

AzaezelX 2 years ago
parent
commit
ac1cbe8198
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/module/moduleManager_ScriptBinding.h

+ 1 - 1
Engine/source/module/moduleManager_ScriptBinding.h

@@ -151,7 +151,7 @@ DefineEngineMethod(ModuleManager, findModuleByFilePath, String, (const char* fil
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 
 
-DefineEngineMethod(ModuleManager, findModules, String, (bool loadedOnly), (false),
+DefineEngineMethod(ModuleManager, findModules, String, (bool loadedOnly), (true),
    "Find all the modules registered with the specified loaded state.\n"
    "Find all the modules registered with the specified loaded state.\n"
    "@param loadedOnly Whether to return only modules that are loaded or not.\n"
    "@param loadedOnly Whether to return only modules that are loaded or not.\n"
    "@return A list of space - separated module definition object Ids.\n")
    "@return A list of space - separated module definition object Ids.\n")