From 0e39c7279a17e30f7eaa37359ef420af68ec3368 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Fri, 7 Oct 2022 04:48:40 +0000 Subject: [PATCH] Add definition catch for NG --- src/events/intro/arcologySelection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/intro/arcologySelection.js b/src/events/intro/arcologySelection.js index 22e79b62b72..bf70935ef96 100644 --- a/src/events/intro/arcologySelection.js +++ b/src/events/intro/arcologySelection.js @@ -211,11 +211,11 @@ App.Intro.generateEstablishedArcologies = function(price) { prereqs: [ [ V.rival.state === 0 || V.rival.state > 2, - `Your inter-arcology war is preventing you from leaving ${V.arcologies[0].name}.` + `Your inter-arcology war is preventing you from leaving ${V.arcologies ? `${V.arcologies[0].name}` : "your arcology"}.` ], [ V.daughtersVictory !== 1, - `You cannot leave ${V.arcologies[0].name} behind while the Daughters of Liberty are still a threat.` + `You cannot leave ${V.arcologies ? `${V.arcologies[0].name}` : "your arcology"} behind while the Daughters of Liberty are still a threat.` ], ], }), ['center']), -- GitLab