diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-05 15:43:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 15:43:01 +0100 |
commit | 7ada59efb79f64882305c26c3a155385e5dcc05c (patch) | |
tree | 55db440c5a85ee333fd18236b3fe897a19fed554 /core/class_db.cpp | |
parent | 9591ca3fe58298ef01ab12f1e59e91399a7ce2d4 (diff) | |
parent | 677604685dd2292f44fedb1b9a5b08b22137219a (diff) |
Merge pull request #33391 from madmiraal/cleanup-error_macros
Clean up error_macros.h
Diffstat (limited to 'core/class_db.cpp')
-rw-r--r-- | core/class_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |