diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-23 16:33:29 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-23 16:33:29 +0100 |
commit | 6435b401b8c666eab9bd41848ac074536a11d444 (patch) | |
tree | 568b8186e6703fe7565e79ef359faf4ed1f6480d | |
parent | 2fdac12b7a6e9a454dda1ef6b1bd74e29ca6b32d (diff) | |
download | 1989-dawn-of-freedom-6435b401b8c666eab9bd41848ac074536a11d444.tar.gz |
Fix for markers which are not true/false
-rw-r--r-- | play.js | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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) {
|