diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2022-11-29 22:55:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 22:55:42 +0300 |
commit | cdd99e9bec16db60efd894a06826f6fea139d00d (patch) | |
tree | 9320a988d0799871557db59f77c7b6e3bcfd7d07 /core | |
parent | d930b308836af09ea3e3bf4b689ac436977db940 (diff) | |
parent | f21f75eb6f7c7b5aaefd8e1c369fe09e1d91cc68 (diff) |
Merge pull request #69338 from akien-mga/pm-fix-hacky-project-rename
Project Manager: Fix hacky code for project rename
Diffstat (limited to 'core')
-rw-r--r-- | core/config/project_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index 7aaa9a46b7..d0de39a79d 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1200,6 +1200,7 @@ ProjectSettings::ProjectSettings() { // Initialization of engine variables should be done in the setup() method, // so that the values can be overridden from project.godot or project.binary. + CRASH_COND_MSG(singleton != nullptr, "Instantiating a new ProjectSettings singleton is not supported."); singleton = this; GLOBAL_DEF_BASIC("application/config/name", ""); |