addPortal fix

This commit is contained in:
Azgaar 2022-04-05 00:14:01 +05:00
parent 1384daf6f9
commit fcda552719

View file

@ -788,7 +788,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`;