aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/dungeonMap/index.js6
-rw-r--r--features/friendsGUI/index.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js
index 7a64980..9af147b 100644
--- a/features/dungeonMap/index.js
+++ b/features/dungeonMap/index.js
@@ -985,9 +985,6 @@ class SpiritLeapOverlay {
this.soopyGui = new SoopyGui()
- this.buttonsContainer = new SoopyGuiElement().setLocation(0.2, 0.2, 0.6, 0.3)
- this.soopyGui.element.addChild(this.buttonsContainer)
-
let renderThing = new soopyGuiMapRendererThing(this).setLocation(0, 0, 1, 1)
this.soopyGui.element.addChild(renderThing)
@@ -997,6 +994,9 @@ class SpiritLeapOverlay {
}
}))
+ this.buttonsContainer = new SoopyGuiElement().setLocation(0.2, 0.2, 0.6, 0.3)
+ this.soopyGui.element.addChild(this.buttonsContainer)
+
this.items = {}
this.players = {}
diff --git a/features/friendsGUI/index.js b/features/friendsGUI/index.js
index 718f514..8422081 100644
--- a/features/friendsGUI/index.js
+++ b/features/friendsGUI/index.js
@@ -132,7 +132,7 @@ class SettingPage extends GuiPage {
elements.push(new SoopyTextElement().setText("ยง0" + commands[i]).setLocation(0.2, 0.4 + i * 0.05, 0.6, 0.05))
this.runCommand(commands[i], () => {
- progressBar.setProgress(i2 / (commands.length - 1), 1000)
+ progressBar.setProgress((i2 + 1) / (commands.length), 1000)
let e = elements.shift()
this.sidebarCustomPage.removeChild(e)