From 377c725937f9d6f936cb39acd38af363bcb5b2d4 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Sun, 21 Jul 2024 23:50:16 -0600 Subject: [PATCH] Mods --- cromulant/ants.py | 2 +- cromulant/game.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cromulant/ants.py b/cromulant/ants.py index dd93460..90d9506 100644 --- a/cromulant/ants.py +++ b/cromulant/ants.py @@ -197,7 +197,7 @@ class Ants: return Utils.random_name(names) @staticmethod - def get_top_ant() -> tuple[Ant, int] | None: + def get_top() -> tuple[Ant, int] | None: top = None top_score = 0 diff --git a/cromulant/game.py b/cromulant/game.py index f9cd356..9c43eae 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -269,7 +269,7 @@ class Game: text.append("Hatch some ants") else: text.append(f"Ants:{nb}{len(Ants.ants)}") - top = Ants.get_top_ant() + top = Ants.get_top() if top: ant = top[0]