Private
Public Access
1
0

Reduce tick rate and TPS to 20 for improved performance and consistency; update cache-busting version for client assets.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m51s

This commit is contained in:
Sebastian Unterschütz
2026-01-05 19:08:27 +01:00
parent f121fa5ced
commit daf8261aa9
5 changed files with 5 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ func NewRoom(id string, nc *nats.Conn, w *game.World) *Room {
func (r *Room) RunLoop() {
// 60 Tick pro Sekunde
ticker := time.NewTicker(time.Second / 60)
ticker := time.NewTicker(time.Second / 20)
defer ticker.Stop()
for {