From 1f117ebda5f27b2b6e1160ecad1bb7a2c19f2e33 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Fri, 30 Jun 2023 19:56:34 -0500 Subject: [PATCH] get others every 30 ticks --- learn_sql_model/game/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learn_sql_model/game/player.py b/learn_sql_model/game/player.py index 8f55990..d24cf26 100644 --- a/learn_sql_model/game/player.py +++ b/learn_sql_model/game/player.py @@ -201,7 +201,7 @@ class Player: self.x_last = self.hero.x self.y_last = self.hero.y - if self.game.ticks % 5 == 0 or self.game.ticks == 0: + if self.game.ticks % 30 == 0 or self.game.ticks == 0: console.print("updating") update = HeroUpdate(**self.hero.dict(exclude_unset=True)) console.print(update)