Fix mistakes in documentation and GDScript errors

This commit is contained in:
VolTer committed 2023-04-10 10:00:09 +02:00
1 parent e11ae937d5
commit f832eb92e4
6 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ String GDScriptWarning::get_message() const {
return vformat(R"*(The default value is using "%s" which won't return nodes in the scene tree before "_ready()" is called. Use the "@onready" annotation to solve this.)*", symbols[0]);
}
case ONREADY_WITH_EXPORT: {
return R"(The "@onready" annotation will make the default value to be set after the "@export" takes effect and will override it.)";
return R"("@onready" will set the default value after "@export" takes effect and will override it.)";
}
case WARNING_MAX:
break; // Can't happen, but silences warning