Private
Public Access
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
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m51s
This commit is contained in:
1 parent
f121fa5ced
commit
daf8261aa9
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -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