Remove save compat since it's breaking anyway.

Removal of old paths/names for things that no longer exist.
This commit is contained in:
Dan Albert
2020-11-20 17:00:47 -08:00
parent a9fcfe60f4
commit ae68a35a1a
46 changed files with 132 additions and 118 deletions

View File

@@ -202,12 +202,6 @@ class Game:
LuaPluginManager.load_settings(self.settings)
ObjectiveDistanceCache.set_theater(self.theater)
# Save game compatibility.
# TODO: Remove in 2.3.
if not hasattr(self, "conditions"):
self.conditions = self.generate_conditions()
def pass_turn(self, no_action: bool = False) -> None:
logging.info("Pass turn")
self.informations.append(Information("End of turn #" + str(self.turn), "-" * 40, 0))