diff options
author | RedMser <redmser.jj2@gmail.com> | 2022-08-06 22:10:24 +0200 |
---|---|---|
committer | RedMser <redmser.jj2@gmail.com> | 2022-08-06 22:10:24 +0200 |
commit | c939f336d6e26bb0d84f23e5a2587bc296b35dbf (patch) | |
tree | ef44e76be6b5098ce3a2e2c780dfee0dab8fc086 /main | |
parent | 21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (diff) |
Only define `keep_screen_on` project setting once
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 4c4377a174..965fcc66c6 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1481,7 +1481,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph OS::get_singleton()->_allow_layered = false; } - OS::get_singleton()->_keep_screen_on = GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true); if (rtm == -1) { rtm = GLOBAL_DEF("rendering/driver/threads/thread_model", OS::RENDER_THREAD_SAFE); } |