poprawki field.py

This commit is contained in:
XsedoX 2022-04-05 15:38:26 +02:00
parent c927bab887
commit c75299e152

View File

@ -19,3 +19,5 @@ class Field(pygame.sprite.Sprite):
def step_onto(self, obj): # ustawia objekt na srodku pola def step_onto(self, obj): # ustawia objekt na srodku pola
obj.rect = obj.clamp(self.rect) obj.rect = obj.clamp(self.rect)
self.busy = True
obj.update()