GDScript: Register GDScriptFunctionState with ClassDB
This commit is contained in:
@@ -137,6 +137,7 @@ static void _editor_init() {
|
||||
void initialize_gdscript_module(ModuleInitializationLevel p_level) {
|
||||
if (p_level == MODULE_INITIALIZATION_LEVEL_SERVERS) {
|
||||
GDREGISTER_CLASS(GDScript);
|
||||
GDREGISTER_INTERNAL_CLASS(GDScriptFunctionState);
|
||||
|
||||
script_language_gd = memnew(GDScriptLanguage);
|
||||
ScriptServer::register_language(script_language_gd);
|
||||
|
||||
Reference in New Issue
Block a user