diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-11 14:17:10 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-11 14:17:10 +0200 |
commit | 8878a33c6cd954e995782fc87f501227ab4bac4d (patch) | |
tree | edaec9c26e383ad5884aef60312a395f33d62514 | |
parent | 38bf13ffb7412335dc127aeab693fe6b85c64063 (diff) |
fix viruses being not drawn
oar spitfire pls
-rw-r--r-- | gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ def draw_frame(): cells = sorted(cells, key = lambda x: x.mass) viruses = list(filter(lambda x: x.is_virus, c.world.cells.values())) - viruses = sorted(cells, key = lambda x: x.mass) + viruses = sorted(viruses, key = lambda x: x.mass) for cell in food: draw_cell(cell) |