Mods
This commit is contained in:
parent
4c2a8edb7c
commit
377c725937
|
@ -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
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue