From 4f62801f72cb45a2a930aab44b14566d13a298a4 Mon Sep 17 00:00:00 2001 From: HalfBurntToast Date: Fri, 16 Sep 2022 22:13:35 -0400 Subject: [PATCH] Bugfix: will now allow screensaver to run --- dungeon_cross.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dungeon_cross.py b/dungeon_cross.py index b6cad79..27e94bc 100755 --- a/dungeon_cross.py +++ b/dungeon_cross.py @@ -41,8 +41,8 @@ from save_game import SaveFile from debug_timer import debug_timer -VERSION = "v1.0.0" -G_LOG_LEVEL = logging.DEBUG +VERSION = "v1.0.1" +G_LOG_LEVEL = logging.INFO TILE_SIZE = 90 G_RESOLUTION = (TILE_SIZE * 9, TILE_SIZE * 9) TARGET_FPS = 60 @@ -796,6 +796,7 @@ def main(): # create display window screen = pygame.display.set_mode(G_RESOLUTION) + pygame.display.set_allow_screensaver = True show_splash(screen) # internal timer for FPS regulation