You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -5410,7 +5410,7 @@ void GDScriptParser::TreePrinter::print_while(WhileNode *p_while) {
|
||||
}
|
||||
|
||||
void GDScriptParser::TreePrinter::print_tree(const GDScriptParser &p_parser) {
|
||||
ERR_FAIL_COND_MSG(p_parser.get_tree() == nullptr, "Parse the code before printing the parse tree.");
|
||||
ERR_FAIL_NULL_MSG(p_parser.get_tree(), "Parse the code before printing the parse tree.");
|
||||
|
||||
if (p_parser.is_tool()) {
|
||||
push_line("@tool");
|
||||
|
||||
Reference in New Issue
Block a user