Private
Public Access
1
0

fix cleanup
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m26s

This commit is contained in:
Sebastian Unterschütz
2025-11-26 19:47:15 +01:00
parent 91f28cf411
commit 6fd9f43c83

View File

@@ -96,11 +96,13 @@ function drawGame() {
// --- DEBUG RAHMEN (Server Hitboxen) --- // --- DEBUG RAHMEN (Server Hitboxen) ---
// Grün im Spiel, Rot bei Tod // Grün im Spiel, Rot bei Tod
ctx.strokeStyle = isGameOver ? "red" : "lime"; if (DEBUG_SYNC == true) {
ctx.lineWidth = 2; ctx.strokeStyle = isGameOver ? "red" : "lime";
serverObstacles.forEach(srvObs => { ctx.lineWidth = 2;
ctx.strokeRect(srvObs.x, srvObs.y, srvObs.w, srvObs.h); serverObstacles.forEach(srvObs => {
}); ctx.strokeRect(srvObs.x, srvObs.y, srvObs.w, srvObs.h);
});
}
// --- SPIELER --- // --- SPIELER ---