From 407adcae14eedd6b9da53fe05aa7984fec056a3e Mon Sep 17 00:00:00 2001 From: TheFlash787 Date: Thu, 13 Aug 2020 00:12:35 +0100 Subject: [PATCH] Removed unnecessary check in configmanager for server code --- app/assets/js/configmanager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/js/configmanager.js b/app/assets/js/configmanager.js index b4157bc..1d95678 100644 --- a/app/assets/js/configmanager.js +++ b/app/assets/js/configmanager.js @@ -44,8 +44,8 @@ exports.setDataDirectory = function(dataDirectory){ * * @returns {string} The server code that has been put into the launcher */ -exports.getServerCode = function(def = false){ - return !def ? config.settings.launcher.serverCode : DEFAULT_CONFIG.settings.launcher.serverCode +exports.getServerCode = function(){ + return config.settings.launcher.serverCode } /**