summaryrefslogtreecommitdiff
path: root/src/sliceitoff/__main__.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-18 13:12:23 +0200
committerViljami Ilola <+@hix.fi>2024-03-18 13:12:23 +0200
commita37239a9f5e2db97d49fd40d53d010b013ceeb3a (patch)
tree7c533620b6408a4d4efb3de0dbec73c4aef56304 /src/sliceitoff/__main__.py
parentb00fe8fe50392a75529864fe03399fa3a0976143 (diff)
vsync & player update
Diffstat (limited to 'src/sliceitoff/__main__.py')
-rw-r--r--src/sliceitoff/__main__.py4
1 files changed, 2 insertions, 2 deletions
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(