summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-23 16:33:29 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-23 16:33:29 +0100
commit6435b401b8c666eab9bd41848ac074536a11d444 (patch)
tree568b8186e6703fe7565e79ef359faf4ed1f6480d /play.js
parent2fdac12b7a6e9a454dda1ef6b1bd74e29ca6b32d (diff)
download1989-dawn-of-freedom-6435b401b8c666eab9bd41848ac074536a11d444.tar.gz
Fix for markers which are not true/false
Diffstat (limited to 'play.js')
-rw-r--r--play.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/play.js b/play.js
index c3b1bf2..de1670c 100644
--- a/play.js
+++ b/play.js
@@ -514,11 +514,19 @@ for (let id in view.persistent_events) {
}
// CHECK WHETHER ANY EVENT MARKERS ARE SHOWING IN THE ASIDE
-
+aside_events_showing = false
for (let id of aside_events) {
if (view.persistent_events[id]) {
aside_events_showing = true;
}
+
+ //Special check for events which are not true/false
+ if (view.persistent_events['foreign_currency_debt_burden'] !== '') {
+ aside_events_showing = true
+ }
+ if (view.persistent_events['stand_fast'] !== '') {
+ aside_events_showing = true
+ }
}
if (aside_events_showing) {