]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
soemthing
authorlbcmk <30442978+lbcmk@users.noreply.github.com>
Wed, 13 Jul 2022 23:10:00 +0000 (19:10 -0400)
committerlbcmk <30442978+lbcmk@users.noreply.github.com>
Wed, 13 Jul 2022 23:10:00 +0000 (19:10 -0400)
Game.py

diff --git a/Game.py b/Game.py
index 88d303e9d0450a3ab494d35fe700febb6456446e..899fb3f02744c8ddb26dd7b90faba9e107daffce 100644 (file)
--- a/Game.py
+++ b/Game.py
@@ -295,7 +295,7 @@ class Game:
                 # print(self.player.position)
                 if self.player.position[0] > 6750 and self.player.position[1] >= 1500:
                     self.has_pet = True
-                self.pet.has_pet = self.has_pet
+            self.pet.has_pet = self.has_pet
 
             if self.has_pet == True:
                 self.pet.update(delta, self.player)