aboutsummaryrefslogtreecommitdiff
path: root/features/hud
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-30 23:28:02 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-11-30 23:28:02 +0800
commit71ae701c364f586c34ae2d1e5f82e4df89e1d851 (patch)
tree8ed41d1b9fbdf72bbf256cb60d83a82adf8446b6 /features/hud
parent5f481b984dfeb8ec6d6eb1762928726d728e775d (diff)
downloadSoopyV2-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.js3
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")