This commit is contained in:
Auric Vente
2024-07-21 21:59:52 -06:00
parent 0738b34652
commit 098aaaf228

View File

@@ -204,6 +204,9 @@ class Ants:
if (not top) or (score > top_score):
top = ant
top_score = score
elif score == top_score:
if ant.created < top.created:
top = ant
if not top:
return None