Make _doleDivisionFactor local

Turn _doleDivisionFactor into a variable local to the module instead of
implicitly global.
This commit is contained in:
Hornwitser committed 2019-10-28 19:46:22 +01:00
1 parent 72b16de227
commit 3fdc27238b
1 file changed
+2 -1
+2 -1
View File
@@ -112,7 +112,8 @@ class neuralDole {
} }
} }
_doleDivisionFactor = {}; //If the server regularly can't fulfill requests, this number grows until it can. Then it slowly shrinks back down. // If the server regularly can't fulfill requests, this number grows until it can. Then it slowly shrinks back down.
let _doleDivisionFactor = {};
function doleDivider({ function doleDivider({
itemCount, itemCount,
object, object,