Skip to content

Commit

Permalink
Bugfix: will now allow screensaver to run
Browse files Browse the repository at this point in the history
  • Loading branch information
halfburnttoast committed Sep 17, 2022
1 parent 133529e commit 4f62801
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dungeon_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4f62801

Please sign in to comment.