Change explicit 'Godot 4.0' references to 'Godot 4'

Fixes #79276.

(cherry picked from commit 8a06ec979e)
This commit is contained in:
Rémi Verschelde 2023-07-10 13:08:11 +02:00 committed by Yuri Sizov
parent 4f4052581b
commit 29b4ee3d97
6 changed files with 33 additions and 33 deletions

View file

@ -3229,7 +3229,7 @@ GDScriptParser::ExpressionNode *GDScriptParser::parse_type_test(ExpressionNode *
}
GDScriptParser::ExpressionNode *GDScriptParser::parse_yield(ExpressionNode *p_previous_operand, bool p_can_assign) {
push_error(R"("yield" was removed in Godot 4.0. Use "await" instead.)");
push_error(R"("yield" was removed in Godot 4. Use "await" instead.)");
return nullptr;
}

View file

@ -1,2 +1,2 @@
GDTEST_PARSER_ERROR
"yield" was removed in Godot 4.0. Use "await" instead.
"yield" was removed in Godot 4. Use "await" instead.