From c939f336d6e26bb0d84f23e5a2587bc296b35dbf Mon Sep 17 00:00:00 2001 From: RedMser Date: Sat, 6 Aug 2022 22:10:24 +0200 Subject: Only define `keep_screen_on` project setting once --- platform/uwp/os_uwp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/uwp') 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; } -- cgit v1.2.3