fixed disappearing burgers bug

This commit is contained in:
2024-12-24 09:22:37 +01:00
parent 83e144c842
commit b93c16bc4a

View File

@@ -259,6 +259,8 @@ class Game:
self.map[ely][elx]=(old_el,holding)
holding.render(elx*40, ely*40+40, 2)
return None
else:
return holding
def recup_ingredient(self, elx:int,ely:int)->Ingredient|Assiette:
el=self.map[ely][elx]
if type(el)==int: