diff options
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 60a5f98a5d..6fbd906679 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -258,6 +258,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph translation_server = memnew(TranslationServer); performance = memnew(Performance); + ClassDB::register_class<Performance>(); globals->add_singleton(ProjectSettings::Singleton("Performance", performance)); GLOBAL_DEF("debug/settings/crash_handler/message", String("Please include this when reporting the bug on https://github.com/godotengine/godot/issues")); |