From 83313f6cd478beae632da4069547a7b97eea6214 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sat, 10 Jun 2023 19:18:13 -0500 Subject: [PATCH] update every 60 ticks --- learn_sql_model/game/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learn_sql_model/game/game.py b/learn_sql_model/game/game.py index 66c7eec..b4db071 100644 --- a/learn_sql_model/game/game.py +++ b/learn_sql_model/game/game.py @@ -69,7 +69,7 @@ class Client: if self.moving_right: self.hero.x += speed - if self.ticks % 10 == 0: + if self.ticks % 60 == 0: HeroUpdate( **{k: v for k, v in self.hero.dict().items() if v is not None} ).update()