v. 0.60.10b

Undeclared variable
This commit is contained in:
Azgaar 2018-09-28 01:38:26 +03:00
parent 6bc0ee2a50
commit 897078b7f0

View file

@ -705,7 +705,7 @@ function fantasyMap() {
let radius = customization === 2 ? +countriesManuallyBrush.value : +culturesManuallyBrush.value;
const r = rn(6 / graphSize * radius, 1);
moveCircle(x1, y1, r);
selection = defineBrushSelection(c2, radius);
let selection = defineBrushSelection(c2, radius);
if (selection) {
if (customization === 2) changeStateForSelection(selection);
if (customization === 4) changeCultureForSelection(selection);