Mods
This commit is contained in:
parent
18aab48651
commit
4fc8eeb886
|
@ -16,7 +16,7 @@ class Ant:
|
|||
self.created = now
|
||||
self.updated = now
|
||||
self.name = ""
|
||||
self.status = "No update yet"
|
||||
self.status = ""
|
||||
self.method = ""
|
||||
self.triumph = 0
|
||||
self.hits = 0
|
||||
|
|
|
@ -34,6 +34,9 @@ class Game:
|
|||
status = ant.status
|
||||
color = None
|
||||
|
||||
if (not ant.status) and (not ant.method):
|
||||
status = "No update yet"
|
||||
|
||||
if ant.method == "triumph":
|
||||
total = f"({ant.triumph} total)"
|
||||
status = f"{Config.triumph_icon} {Config.triumph_message} {total}"
|
||||
|
@ -203,7 +206,6 @@ class Game:
|
|||
ants = sorted(Ants.ants, key=lambda ant: ant.updated)
|
||||
|
||||
for ant in ants:
|
||||
if ant.status or ant.method:
|
||||
Game.add_status(ant)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue