From 10b608fe797f1d3d1eecfb77464082dc19dde51f Mon Sep 17 00:00:00 2001
From: Paolo Brasolin <paolo.brasolin@eurac.edu>
Date: Thu, 24 Mar 2022 09:18:28 +0100
Subject: [PATCH] fix: #fe remove debug stuff

---
 frontend/src/js/fight_scene.ts | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/frontend/src/js/fight_scene.ts b/frontend/src/js/fight_scene.ts
index 401a745..828fdc2 100644
--- a/frontend/src/js/fight_scene.ts
+++ b/frontend/src/js/fight_scene.ts
@@ -145,7 +145,7 @@ export default class FightScene extends Phaser.Scene {
       })
     ).data;
 
-    // gameStart(this);
+    gameStart(this);
   }
 
   showMissMessage() {
@@ -318,8 +318,7 @@ async function spawn(scene: any) {
   scene.time.now;
   const delay =
     (8 * 1000 * (60 * 1000 - scene.time.now)) / 60 / 1000 + 2 * 1000;
-  // setTimeout(() => spawn(scene), Math.max(delay, 2000));
-  setTimeout(() => spawn(scene), 10000);
+  setTimeout(() => spawn(scene), Math.max(delay, 2000));
 }
 
 async function spawnFoe(scene: any) {
-- 
GitLab