This commit is contained in:
Azgaar 2020-03-30 23:10:33 +03:00
parent aae37eb702
commit 29117db1cf
8 changed files with 45 additions and 58 deletions

View file

@ -933,12 +933,6 @@ function parseLoadedData(data) {
}
if (version < 1.3) {
// v 1.3 added ports attribute to pack.features
for (const f of pack.features) {
if (!f.i) continue;
f.ports = pack.burgs.filter(b => !b.removed && b.port === f.i).length;
}
// v 1.3 added global options object
const winds = options.slice(); // previostly wnd was saved in settings[19]
const year = rand(100, 2000);