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

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

No files matched your search

+1 -1
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 {