aboutsummaryrefslogtreecommitdiff
path: root/features/hud/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/hud/index.js')
-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")