summaryrefslogtreecommitdiff
path: root/src/sliceitoff/field
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-24 12:32:42 +0200
committerViljami Ilola <+@hix.fi>2024-03-24 12:32:42 +0200
commit749d47df38540342a7fe19029284b8115b03574a (patch)
treedbcc6c9a67644b7f73a00885cbafe8cb14dee3dd /src/sliceitoff/field
parentc22159dfb5abda283d76248b474098cc2110935c (diff)
scoring
Diffstat (limited to 'src/sliceitoff/field')
-rw-r--r--src/sliceitoff/field/field.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sliceitoff/field/field.py b/src/sliceitoff/field/field.py
index f1a2086..82391d6 100644
--- a/src/sliceitoff/field/field.py
+++ b/src/sliceitoff/field/field.py
@@ -152,3 +152,4 @@ class Field(pygame.sprite.LayeredUpdates):
else:
self.explode(field.area)
field.remove(self)
+ Stats.field_count=len(self.active_sprites())