From 749d47df38540342a7fe19029284b8115b03574a Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sun, 24 Mar 2024 12:32:42 +0200 Subject: scoring --- src/sliceitoff/field/field.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sliceitoff/field') 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()) -- cgit v1.2.3