Mods
This commit is contained in:
parent
0738b34652
commit
098aaaf228
|
@ -204,6 +204,9 @@ class Ants:
|
||||||
if (not top) or (score > top_score):
|
if (not top) or (score > top_score):
|
||||||
top = ant
|
top = ant
|
||||||
top_score = score
|
top_score = score
|
||||||
|
elif score == top_score:
|
||||||
|
if ant.created < top.created:
|
||||||
|
top = ant
|
||||||
|
|
||||||
if not top:
|
if not top:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue