diff --git a/js/gateway.js b/js/gateway.js index 61c88a55..b40b90d2 100644 --- a/js/gateway.js +++ b/js/gateway.js @@ -828,7 +828,7 @@ SharkGame.Gateway = { switch (SharkGame.Aspects.distantForesight.level) { case 1: contentDiv.prepend($("

").html(worldData.foresight.longDesc)); - if (worldData.foresight.missing.length > 0) { + if (worldData.foresight.missing && worldData.foresight.missing.length > 0) { const missingList = $("