Fix broken tests

This commit is contained in:
Yohann D'ANELLO
2020-11-19 01:11:11 +01:00
parent 075c061a14
commit 109543a385
6 changed files with 78 additions and 47 deletions

View File

@ -135,8 +135,6 @@ class Map:
d["currenty"] = self.currenty
d["entities"] = []
for enti in self.entities:
if enti.save_state() is None:
raise Exception(enti)
d["entities"].append(enti.save_state())
d["map"] = self.draw_string(TexturePack.ASCII_PACK)
return d