From a8a5a3f8c2c0c0897006a6a68cf4fb1eba2b9f9f Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 7 May 2022 15:42:00 +0800 Subject: + 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 --- features/hud/HudTextElement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features/hud') 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; } - }) + } } } -- cgit