mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 18:41:23 +01:00
moved references to globalThis
This commit is contained in:
parent
be168b11e1
commit
7903cfcd65
5 changed files with 6 additions and 6 deletions
|
|
@ -518,7 +518,7 @@ window.Cultures = (function () {
|
|||
TIME && console.time("expandCultures");
|
||||
const {cells, cultures} = pack;
|
||||
|
||||
const queue = new PriorityQueue({comparator: (a, b) => a.priority - b.priority});
|
||||
const queue = new globalThis.PriorityQueue({comparator: (a, b) => a.priority - b.priority});
|
||||
const cost = [];
|
||||
|
||||
const neutralRate = byId("neutralRate")?.valueAsNumber || 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue