summaryrefslogtreecommitdiff
path: root/src/sliceitoff/__main__.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-18 19:55:32 +0200
committerViljami Ilola <+@hix.fi>2024-03-18 19:55:32 +0200
commitd19b06f7728df38dd4cfe770615c969b49f9e227 (patch)
tree11643a416d6fce0e73edf3cb262b84caa615fe30 /src/sliceitoff/__main__.py
parent78704848d4459907a456044615714b59d4593b2f (diff)
gameplay refactoring
Diffstat (limited to 'src/sliceitoff/__main__.py')
-rw-r--r--src/sliceitoff/__main__.py2
1 files changed, 2 insertions, 0 deletions
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()