diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-30 23:28:02 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-30 23:28:02 +0800 |
commit | 71ae701c364f586c34ae2d1e5f82e4df89e1d851 (patch) | |
tree | 8ed41d1b9fbdf72bbf256cb60d83a82adf8446b6 /features/hud | |
parent | 5f481b984dfeb8ec6d6eb1762928726d728e775d (diff) | |
download | SoopyV2-71ae701c364f586c34ae2d1e5f82e4df89e1d851.tar.gz SoopyV2-71ae701c364f586c34ae2d1e5f82e4df89e1d851.tar.bz2 SoopyV2-71ae701c364f586c34ae2d1e5f82e4df89e1d851.zip |
Allow for dynamic updating of module code in the fly
Diffstat (limited to 'features/hud')
-rw-r--r-- | features/hud/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/features/hud/index.js b/features/hud/index.js index e8dc604..704c954 100644 --- a/features/hud/index.js +++ b/features/hud/index.js @@ -9,8 +9,6 @@ import HudTextElement from "./HudTextElement"; class Hud extends Feature { constructor() { super() - - this.initVariables() } initVariables(){ @@ -58,6 +56,7 @@ class Hud extends Feature { } onEnable(){ + this.initVariables() this.numberUtils = require("../../utils/numberUtils.js") |