From a37239a9f5e2db97d49fd40d53d010b013ceeb3a Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Mon, 18 Mar 2024 13:12:23 +0200 Subject: vsync & player 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 2da9aa8..bf48169 100644 --- a/src/sliceitoff/__main__.py +++ b/src/sliceitoff/__main__.py @@ -34,8 +34,8 @@ def sliceitoff(): while True: - dt = clock.tick(60) - for fun in (status, field, enemies): + dt = clock.tick() + for fun in (status, field, enemies, player): fun.update(dt) display.update( -- cgit v1.2.3