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/macos | |
parent | 21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (diff) |
Only define `keep_screen_on` project setting once
Diffstat (limited to 'platform/macos')
-rw-r--r-- | platform/macos/display_server_macos.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/display_server_macos.mm b/platform/macos/display_server_macos.mm index e228007246..a49485154b 100644 --- a/platform/macos/display_server_macos.mm +++ b/platform/macos/display_server_macos.mm @@ -3286,7 +3286,7 @@ DisplayServerMacOS::DisplayServerMacOS(const String &p_rendering_driver, WindowM } #endif - screen_set_keep_on(GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true)); + screen_set_keep_on(GLOBAL_GET("display/window/energy_saving/keep_screen_on")); } DisplayServerMacOS::~DisplayServerMacOS() { |