From d19b06f7728df38dd4cfe770615c969b49f9e227 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Mon, 18 Mar 2024 19:55:32 +0200 Subject: gameplay refactoring --- src/sliceitoff/__main__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sliceitoff/__main__.py') diff --git a/src/sliceitoff/__main__.py b/src/sliceitoff/__main__.py index 4e5a626..295bce9 100644 --- a/src/sliceitoff/__main__.py +++ b/src/sliceitoff/__main__.py @@ -33,6 +33,8 @@ def sliceitoff(): level = Level(display = display) while level.step(dt): dt = clock.tick() + if Stats.lives: + Stats.level_up() pygame.quit() -- cgit v1.2.3