summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-07 18:30:27 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-07 18:30:27 +0000
commit624b24699d52321b5257b89f16082e17a9a6a276 (patch)
treebeb6dbfd8e4737ea8147ad6570962b4d8f428e17
parentd9ed8e9b667fa346adf7c388db95a499b8395d0c (diff)
download1989-dawn-of-freedom-624b24699d52321b5257b89f16082e17a9a6a276.tar.gz
Fix Tyrant
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index ded7d49..8ea17a2 100644
--- a/play.js
+++ b/play.js
@@ -629,7 +629,7 @@ function on_update() {
ui.events[C_SYSTEMATIZATION].style.display = "none"
}
- if (view.persistent_events.includes(C_THE_TYRANT_IS_GONE)) {
+ if (view.the_tyrant_is_gone) {
ui.events[C_THE_TYRANT_IS_GONE].style.display = "block"
ui.events[C_THE_TYRANT_IS_GONE].style.left = ui.layout_xy[view.the_tyrant_is_gone][0] - 25 + "px"
ui.events[C_THE_TYRANT_IS_GONE].style.top = ui.layout_xy[view.the_tyrant_is_gone][1] - 50 + "px"