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
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m51s
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user