diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-03 15:41:40 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-03 15:41:40 +0800 |
commit | 578a7e1720c0c85b1023151172eb8e077f5bf126 (patch) | |
tree | af7096c0a2577d4ef6665c2ccaac537e70977054 /features/hud | |
parent | ac1fb62d61fa6a16a43667ac4f16c324f806a54e (diff) | |
download | SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.tar.gz SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.tar.bz2 SoopyV2-578a7e1720c0c85b1023151172eb8e077f5bf126.zip |
+ fix there being multiple of the same hud element in the edit gui locations button sometimes
Diffstat (limited to 'features/hud')
-rw-r--r-- | features/hud/HudTextElement.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |