]> git.ayabusa.dev Git - a-la-carte.git/commitdiff
fixed weird duplication bug
authorayabusa <lebgpub@gmail.com>
Tue, 24 Dec 2024 08:19:26 +0000 (09:19 +0100)
committerayabusa <lebgpub@gmail.com>
Tue, 24 Dec 2024 08:19:26 +0000 (09:19 +0100)
src/game.py

index 6b4c4d4643d930d7babe88d762fc9eaf0efa8659..14636fc7b743128d1239493b054c323143ae6375 100644 (file)
@@ -68,8 +68,8 @@ class Ingredient:
         self.i_nom = i_nom
 
 class Assiette:
-    def __init__(self, a_ingredients=[]):
-        self.a_ingredients = a_ingredients
+    def __init__(self):
+        self.a_ingredients = []
     def render(self, x, y, multiplier):
         draw_sprite("assiette",x,y,multiplier)
         if self.a_ingredients==[]: return