mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-23 20:41:23 +01:00
Merge branch 'upstream' into dev-submaps
This commit is contained in:
commit
5db436d627
5 changed files with 110 additions and 31 deletions
|
|
@ -794,7 +794,7 @@ window.Markers = (function () {
|
|||
const {cells, burgs} = pack;
|
||||
|
||||
// Portals can only be added to burgs
|
||||
if (cells.burg[cell]) return;
|
||||
if (!cells.burg[cell]) return;
|
||||
const burgName = burgs[cells.burg[cell]].name;
|
||||
|
||||
const name = `${burgName} Portal`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue