From 098aaaf2281d03ff991cb8dd4263cdbea1405181 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Sun, 21 Jul 2024 21:59:52 -0600 Subject: [PATCH] Mods --- cromulant/ants.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cromulant/ants.py b/cromulant/ants.py index 5ae5e89..a701a0c 100644 --- a/cromulant/ants.py +++ b/cromulant/ants.py @@ -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