mirror of
https://github.com/ayabusa/A-la-carte.git
synced 2026-04-06 19:36:58 +00:00
fixed weird duplication bug
This commit is contained in:
@@ -68,8 +68,8 @@ class Ingredient:
|
|||||||
self.i_nom = i_nom
|
self.i_nom = i_nom
|
||||||
|
|
||||||
class Assiette:
|
class Assiette:
|
||||||
def __init__(self, a_ingredients=[]):
|
def __init__(self):
|
||||||
self.a_ingredients = a_ingredients
|
self.a_ingredients = []
|
||||||
def render(self, x, y, multiplier):
|
def render(self, x, y, multiplier):
|
||||||
draw_sprite("assiette",x,y,multiplier)
|
draw_sprite("assiette",x,y,multiplier)
|
||||||
if self.a_ingredients==[]: return
|
if self.a_ingredients==[]: return
|
||||||
|
|||||||
Reference in New Issue
Block a user