summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRedMser <redmser.jj2@gmail.com>2022-08-06 22:10:24 +0200
committerRedMser <redmser.jj2@gmail.com>2022-08-06 22:10:24 +0200
commitc939f336d6e26bb0d84f23e5a2587bc296b35dbf (patch)
treeef44e76be6b5098ce3a2e2c780dfee0dab8fc086 /main/main.cpp
parent21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (diff)
Only define `keep_screen_on` project setting once
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp1
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);
}