diff --git a/js/canvas.js b/js/canvas.js index 8f46c54..e72c772 100644 --- a/js/canvas.js +++ b/js/canvas.js @@ -203,7 +203,6 @@ async function startSimulation() { entity.ctx = ctx; } - let counter = 0; while (!stop) { while (pause || stop) { @@ -251,10 +250,6 @@ async function startSimulation() { await animatePacket(packets, allEntities); // Prevents infinite loop. Take out after testing is complete - ++counter; - if (counter > 25) { - break; - } } }