add image data only on ticks

This commit is contained in:
evanpelle
2024-08-10 09:31:05 -07:00
parent f9fddeb7c6
commit adb21f3273
2 changed files with 23 additions and 17 deletions
+1
View File
@@ -118,6 +118,7 @@ export class ClientGame {
this.ticksThisTurn++
console.log('client ticking')
this.gs.tick()
this.renderer.tick()
}
private playerEvent(event: PlayerEvent) {