get others every 30 ticks

This commit is contained in:
Waylon Walker 2023-06-30 19:56:34 -05:00
parent facb3b7e18
commit 1f117ebda5
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -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)