diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-11 13:56:44 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-11 13:56:44 +0800 |
commit | dcae5dceb529fe4727e0d9b1e6dba4bd82cc7db3 (patch) | |
tree | ac4659fbf6515c8feac951965423a9e13e6c3021 /features/dungeonSolvers | |
parent | 0f9a2e04a671f1aed5f41b8162e4f38f27ee5a73 (diff) | |
download | SoopyV2-dcae5dceb529fe4727e0d9b1e6dba4bd82cc7db3.tar.gz SoopyV2-dcae5dceb529fe4727e0d9b1e6dba4bd82cc7db3.tar.bz2 SoopyV2-dcae5dceb529fe4727e0d9b1e6dba4bd82cc7db3.zip |
+ load when rooms are finished based on green tick (dungeon map room secrets)
Diffstat (limited to 'features/dungeonSolvers')
-rw-r--r-- | features/dungeonSolvers/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 |