From 578a7e1720c0c85b1023151172eb8e077f5bf126 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Fri, 3 Jun 2022 15:41:40 +0800 Subject: + fix there being multiple of the same hud element in the edit gui locations button sometimes --- features/hud/HudTextElement.js | 1 + 1 file changed, 1 insertion(+) (limited to 'features/hud') diff --git a/features/hud/HudTextElement.js b/features/hud/HudTextElement.js index 834ef28..d6440aa 100644 --- a/features/hud/HudTextElement.js +++ b/features/hud/HudTextElement.js @@ -23,6 +23,7 @@ class HudTextElement { delete() { this.renderElm.stopRender() + if (this.locationSetting) this.locationSetting.delete() } setBaseEditWidth(width) { -- cgit