Fixed bug in scenarioLoader

This commit is contained in:
Daniel Vestøl committed 2019-03-24 20:14:47 +01:00
1 parent 94d434c8ef
commit 8357fa23ce
1 file changed
+1 -1
+1 -1
View File
@@ -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");