From 8357fa23ce0444dbbacafea03402c3d4bdbe4722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vest=C3=B8l?= Date: Sun, 24 Mar 2019 20:14:47 +0100 Subject: [PATCH] Fixed bug in scenarioLoader --- sharedPlugins/scenario_loader/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharedPlugins/scenario_loader/index.js b/sharedPlugins/scenario_loader/index.js index 5889ee4b..79503b88 100644 --- a/sharedPlugins/scenario_loader/index.js +++ b/sharedPlugins/scenario_loader/index.js @@ -81,7 +81,7 @@ module.exports = class remoteCommands { if(returnValue) this.messageInterface(returnValue); this.messageInterface(`Loaded scenario ${scenarios[i]} in ${Math.floor(Date.now()-startTime)}ms`); } - })(); + } } async checkHotpatchInstallation(){ let yn = await this.messageInterface("/silent-command if remote.interfaces['hotpatch'] then rcon.print('true') else rcon.print('false') end");