From b93c16bc4a13c677cc894aa073f5699b1e340405 Mon Sep 17 00:00:00 2001 From: ayabusa Date: Tue, 24 Dec 2024 09:22:37 +0100 Subject: [PATCH] fixed disappearing burgers bug --- src/game.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game.py b/src/game.py index 14636fc..aa629bb 100644 --- a/src/game.py +++ b/src/game.py @@ -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: