From dcae5dceb529fe4727e0d9b1e6dba4bd82cc7db3 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Mon, 11 Jul 2022 13:56:44 +0800 Subject: + load when rooms are finished based on green tick (dungeon map room secrets) --- features/dungeonSolvers/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'features/dungeonSolvers') diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js index 87c5d8b..cd90496 100644 --- a/features/dungeonSolvers/index.js +++ b/features/dungeonSolvers/index.js @@ -363,6 +363,7 @@ class DungeonSolvers extends Feature { this.timersData = [] } getCurrentRoomId() { + if (Scoreboard.getLines().length === 0) return let id = ChatLib.removeFormatting(Scoreboard.getLineByIndex(Scoreboard.getLines().length - 1).getName()).trim().split(" ").pop() return id -- cgit