Private
Public Access
1
0

fix game
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 2m0s

This commit is contained in:
Sebastian Unterschütz
2026-04-22 11:38:35 +02:00
parent a6cfc055be
commit 2286c18432
5 changed files with 29 additions and 7 deletions

View File

@@ -245,6 +245,11 @@ func (g *Game) UpdateGame() {
g.SendInputWithSequence(input)
// Solo: Lokale Prüfung der Runde (Tod/Score)
if g.gameMode == "solo" {
g.checkSoloRound()
}
// Trail: store predicted position every physics step
g.trail = append(g.trail, trailPoint{X: g.predictedX, Y: g.predictedY})
if len(g.trail) > 8 {