From 00dfae8bd19c939dc11d6d89fd6ad63a0f3c9717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vest=C3=B8l?= Date: Sun, 24 Mar 2019 20:34:34 +0100 Subject: [PATCH] Fixed another bug in scenarioLoader --- .gitignore | 1 + config.json.dist | 2 +- sharedPlugins/scenario_loader/index.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7af470c1..d12f04bb 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ coverage # Compiled binary addons (http://nodejs.org/api/addons.html) build/Release +dist/ node_modules/* !node_modules/_app diff --git a/config.json.dist b/config.json.dist index d7f6a6b3..1c598664 100644 --- a/config.json.dist +++ b/config.json.dist @@ -49,7 +49,7 @@ "logItemTransfers": false, "__comment6.5": "When the master is undersupplied, we have 3 different modes to 'fairly' distribute items. First to ask gets all, dole division using weird formula or experimental neural net tries to make stuff as fair as possible. Feel free to play around.", "disableFairItemDistribution": false, - "useNeuralNetDoleDivider": true, + "useNeuralNetDoleDivider": false, "uploadModsToMaster": true, "msBetweenCommands": 10, "allowRemoteCommandExecution": true, diff --git a/sharedPlugins/scenario_loader/index.js b/sharedPlugins/scenario_loader/index.js index 79503b88..dfeb627b 100644 --- a/sharedPlugins/scenario_loader/index.js +++ b/sharedPlugins/scenario_loader/index.js @@ -120,3 +120,4 @@ class AsyncArray extends Array { super(arr) this.data = arr; // In place of Array subclassing } +}