From 137390bc0b0681f79f9de89996bda915be927dff Mon Sep 17 00:00:00 2001 From: lesleyrs <19632758+lesleyrs@users.noreply.github.com> Date: Tue, 30 Jul 2024 03:15:45 +0200 Subject: [PATCH] fix --- public/worker.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/worker.js b/public/worker.js index 5b17245f..2f4c248e 100644 --- a/public/worker.js +++ b/public/worker.js @@ -38422,6 +38422,7 @@ var GameMap = class _GameMap { this.decodeLands(lands, landData, mapsquareX, mapsquareZ); this.decodeLocs(lands, locData, mapsquareX, mapsquareZ, zoneMap); }); + await Promise.all(maps2); console.timeEnd("Loading game map"); } /** @@ -40294,3 +40295,4 @@ var WorkerServer = class { await World_default.start(); var workerServer = new WorkerServer(); workerServer.start(); +self.postMessage({ type: "ready" });