Private
Public Access
1
0

Merge pull request 'fix cleanup' (#13) from fix-debug into main
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m21s

Reviewed-on: #13
This commit is contained in:
2025-11-26 18:49:31 +00:00

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 ---