From 8781f3b04dff7434d302f7606cdcb0d2c1523cf8 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Mon, 18 Mar 2024 12:48:55 +0200 Subject: field -> no get_sprites, separate update --- src/sliceitoff/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/__main__.py') diff --git a/src/sliceitoff/__main__.py b/src/sliceitoff/__main__.py index 68fca86..5fc766b 100644 --- a/src/sliceitoff/__main__.py +++ b/src/sliceitoff/__main__.py @@ -35,13 +35,13 @@ def sliceitoff(): while True: dt = clock.tick(60) - for fun in (status, status): + for fun in (status, field): fun.update(dt) display.update( [ status.sprites, - field.get_sprites(), + field.sprites, enemies.get_sprites(), player.get_sprites() ]) -- cgit v1.2.3