get others every 30 ticks
This commit is contained in:
parent
facb3b7e18
commit
1f117ebda5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue