1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Only define keep_screen_on project setting once

This commit is contained in:
RedMser
2022-08-06 22:10:24 +02:00
parent 21f6916ffc
commit c939f336d6
8 changed files with 11 additions and 6 deletions

View File

@@ -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;
}