From: ayabusa Date: Tue, 24 Dec 2024 08:19:26 +0000 (+0100) Subject: fixed weird duplication bug X-Git-Tag: 1.0~14 X-Git-Url: https://git.ayabusa.dev/?a=commitdiff_plain;h=83e144c842a8ed797ef7fd317fe9e3f77feeaeb3;p=a-la-carte.git fixed weird duplication bug --- diff --git a/src/game.py b/src/game.py index 6b4c4d4..14636fc 100644 --- a/src/game.py +++ b/src/game.py @@ -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