mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
buttons to release all provinces and regenerate culture name
This commit is contained in:
parent
86e3a5147e
commit
c7dc0c19d2
1 changed files with 4 additions and 0 deletions
|
|
@ -58,3 +58,7 @@ function createTypedArray({maxValue, length, from}) {
|
||||||
if (!from) return new typedArray(length);
|
if (!from) return new typedArray(length);
|
||||||
return typedArray.from(from);
|
return typedArray.from(from);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function unique(array) {
|
||||||
|
return [...new Set(array)];
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue