aboutsummaryrefslogtreecommitdiff
path: root/features/hud
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-07 15:42:00 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-05-07 15:42:00 +0800
commita8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f (patch)
tree6029ccf80aa2bbdc712b88edc1a5dcb3b5bf3110 /features/hud
parentad10250efe29f45951e3b8483dbde002c0ea4b3d (diff)
downloadSoopyV2-a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f.tar.gz
SoopyV2-a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f.tar.bz2
SoopyV2-a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f.zip
+ remove update button patcher module (removed soopyv2 from ct website)
+ updating will be same as updatebuttonpatcher used to be, but built into soopyv2 + new version avalible chat message + show other player's inquis waypoints
Diffstat (limited to 'features/hud')
-rw-r--r--features/hud/HudTextElement.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/hud/HudTextElement.js b/features/hud/HudTextElement.js
index 3d09319..46c660d 100644
--- a/features/hud/HudTextElement.js
+++ b/features/hud/HudTextElement.js
@@ -114,7 +114,7 @@ class HudTextElement {
renderRaw() {
let text = this.getText()
- text.forEach((line, i) => {
+ for (let i = 0, line = text[0]; i < text.length; i++, line = text[i]) {
Renderer.scale(this.locationSetting.scale, this.locationSetting.scale)
switch (this.locationSetting.shadowType) {
case 0:
@@ -133,7 +133,7 @@ class HudTextElement {
Renderer.drawString(line, this.locationSetting.x / this.locationSetting.scale, this.locationSetting.y / this.locationSetting.scale + 9 * i)
break;
}
- })
+ }
}
}