diff --git a/learn_sql_model/game/game.py b/learn_sql_model/game/game.py index 16b0f2c..bbdba9a 100644 --- a/learn_sql_model/game/game.py +++ b/learn_sql_model/game/game.py @@ -66,7 +66,10 @@ class Client: self.quit() def quit(self): - HeroDelete(id=self.hero.id).delete() + try: + HeroDelete(id=self.hero.id).delete() + except: + pass def update(self): if self.moving_up: