]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
Small Fixes
authorlbcmk <30442978+lbcmk@users.noreply.github.com>
Wed, 13 Jul 2022 00:58:03 +0000 (20:58 -0400)
committerlbcmk <30442978+lbcmk@users.noreply.github.com>
Wed, 13 Jul 2022 00:58:03 +0000 (20:58 -0400)
.gitignore
Game.py

index 68aac717c0935cc69300bd2262e2398ff72df894..709f08c7db635200e580448d07861c48e231e1e5 100644 (file)
@@ -14,3 +14,7 @@ ignore_*
 Save/SaveData.txt
 /.idea
 .idea/Pygame-Jam-main.iml
+build
+dist
+*.exe
+*.spec
\ No newline at end of file
diff --git a/Game.py b/Game.py
index 688f521e9530171d8aa27ce001e5f956f2305a7b..63d4dbb273be9037e370729fc201bb752d4363a6 100644 (file)
--- a/Game.py
+++ b/Game.py
@@ -232,7 +232,7 @@ class Game:
             self.fadeT.update()
             self.fadeT.draw()
 
-        if (self.fadeT.transparency >= 255):
+        if (self.fadeT.transparency >= 255 and self.player.dead == False):
             self.Transition.fade = False
             self.next_level = self.level + 1
             self.level = -4