From 5af3b4ca279c6dac32a8aef45d5d4a5b27fdb718 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Wed, 6 Nov 2019 17:03:04 +0100 Subject: Remove duplicate ERR_PRINT macro. --- core/class_db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/class_db.cpp') diff --git a/core/class_db.cpp b/core/class_db.cpp index 65f0c6008c..8800f51778 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -541,7 +541,7 @@ Object *ClassDB::instance(const StringName &p_class) { } #ifdef TOOLS_ENABLED if (ti->api == API_EDITOR && !Engine::get_singleton()->is_editor_hint()) { - ERR_PRINTS("Class '" + String(p_class) + "' can only be instantiated by editor."); + ERR_PRINT("Class '" + String(p_class) + "' can only be instantiated by editor."); return NULL; } #endif -- cgit v1.2.3