You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix synchronization of global class name
This commit is contained in:
@@ -2759,7 +2759,7 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
|
||||
String source = f->get_as_utf8_string();
|
||||
|
||||
GDScriptParser parser;
|
||||
err = parser.parse(source, p_path, false);
|
||||
err = parser.parse(source, p_path, false, false);
|
||||
|
||||
const GDScriptParser::ClassNode *c = parser.get_tree();
|
||||
if (!c) {
|
||||
|
||||
Reference in New Issue
Block a user