This commit is contained in:
Auric Vente 2024-07-25 20:32:15 -06:00
parent 1b54532cf3
commit 1b21a9adcd
1 changed files with 3 additions and 3 deletions

View File

@ -200,12 +200,12 @@ class Game:
@staticmethod @staticmethod
def get_image(ant: Ant) -> QLabel: def get_image(ant: Ant) -> QLabel:
if ant == Ants.top: if ant.method == "hatched":
path = Config.top_image_path
elif ant.method == "hatched":
path = Config.hatched_image_path path = Config.hatched_image_path
elif ant.method == "terminated": elif ant.method == "terminated":
path = Config.terminated_image_path path = Config.terminated_image_path
elif ant == Ants.top:
path = Config.top_image_path
else: else:
path = Config.status_image_path path = Config.status_image_path