fixed weird duplication bug

This commit is contained in:
2024-12-24 09:19:26 +01:00
parent 9ddce065c5
commit 83e144c842

View 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