From 3c5485804764885f5514badf5c80bcb4c6bbaf2f Mon Sep 17 00:00:00 2001 From: holly Date: Wed, 22 Sep 2021 19:15:01 +0100 Subject: [PATCH] Move them globals --- Binato.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Binato.js b/Binato.js index db81760..01b974e 100644 --- a/Binato.js +++ b/Binato.js @@ -1,14 +1,16 @@ console.clear(); +// Globals +global.consoleHelper = require("./consoleHelper.js"); +global.protocolVersion = 19; + const app = require("express")(), fs = require("fs"), config = require("./config.json"); const debugMode = true; -global.protocolVersion = 19; -global.consoleHelper = require("./consoleHelper.js"); const serverHandler = require("./server/serverHandler.js");