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 /platform/uwp | |
parent | 21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (diff) |
Only define `keep_screen_on` project setting once
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/os_uwp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index 7bc4c6047c..40f93bb18b 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -275,7 +275,7 @@ Error OS_UWP::initialize(const VideoMode &p_desired, int p_video_driver, int p_a display_request->RequestActive(); } - set_keep_screen_on(GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true)); + set_keep_screen_on(GLOBAL_GET("display/window/energy_saving/keep_screen_on")); return OK; } |