From 851984ee66711e91da6240a22f5960f838324afb Mon Sep 17 00:00:00 2001 From: walterroach Date: Mon, 4 Jan 2021 11:36:40 -0600 Subject: [PATCH] Revert TGO ID reset - fixes #708 --- game/operation/operation.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/game/operation/operation.py b/game/operation/operation.py index c24d627a..98aea571 100644 --- a/game/operation/operation.py +++ b/game/operation/operation.py @@ -413,11 +413,6 @@ class Operation: @classmethod def reset_naming_ids(cls): - if not cls.game: - logging.warning("Game object not initialized before resetting IDs") - return - cls.game.current_group_id = 0 - cls.game.current_unit_id = 0 namegen.reset_numbers() @classmethod