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
if (DEBUG_SYNC == true) {
ctx.strokeStyle = isGameOver ? "red" : "lime"; ctx.strokeStyle = isGameOver ? "red" : "lime";
ctx.lineWidth = 2; ctx.lineWidth = 2;
serverObstacles.forEach(srvObs => { serverObstacles.forEach(srvObs => {
ctx.strokeRect(srvObs.x, srvObs.y, srvObs.w, srvObs.h); ctx.strokeRect(srvObs.x, srvObs.y, srvObs.w, srvObs.h);
}); });
}
// --- SPIELER --- // --- SPIELER ---