Merge pull request #57611 from TechnicalSoup/TechnicalSoup-patch-2

Cleanup of preprocessor directives in main.cpp
This commit is contained in:
Rémi Verschelde 2022-02-14 08:44:25 +01:00 committed by GitHub
commit 618324cd84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1195,11 +1195,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
if (editor) {
packed_data->set_disabled(true);
globals->set_disable_feature_overrides(true);
}
#endif
#ifdef TOOLS_ENABLED
if (editor) {
Engine::get_singleton()->set_editor_hint(true);
main_args.push_back("--editor");
if (!init_windowed) {