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

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

No files matched your search

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