diff --git a/frontend/src/js/fight_scene.ts b/frontend/src/js/fight_scene.ts index 0469ca0d4db11b2402d3e5efac7d82042ba931fe..130ff039d3ef6d59d828c6b55f05e3340b195237 100644 --- a/frontend/src/js/fight_scene.ts +++ b/frontend/src/js/fight_scene.ts @@ -315,7 +315,7 @@ function spawn(scene: any) { scene.time.now; const delay = (8 * 1000 * (60 * 1000 - scene.time.now)) / 60 / 1000 + 2 * 1000; - setTimeout(() => spawn(scene), delay); + setTimeout(() => spawn(scene), Math.max(delay, 2000)); } function dispatchEnemy(scene: any) {