Browse Source

Merge pull request #43864 from vnen/fix-print-utilities

Fix prints and printt functions printing as errors
Rémi Verschelde 4 years ago
parent
commit
ff790796af
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/variant/variant_utility.cpp

+ 2 - 2
core/variant/variant_utility.cpp

@@ -537,7 +537,7 @@ struct VariantUtilityFunctions {
 			str += p_args[i]->operator String();
 		}
 
-		print_error(str);
+		print_line(str);
 		r_error.error = Callable::CallError::CALL_OK;
 	}
 
@@ -554,7 +554,7 @@ struct VariantUtilityFunctions {
 			str += p_args[i]->operator String();
 		}
 
-		print_error(str);
+		print_line(str);
 		r_error.error = Callable::CallError::CALL_OK;
 	}