summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-07 19:03:59 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-07 19:03:59 +0000
commit1b364f8186a92b28b8d44226f8451fc60a6a751b (patch)
tree01e1aa4ea5e7f3bc1a617029ee5831ab6f858adc /play.js
parentcad77dfadbdfb5d764a0e53ceb9a4b2bdc39077b (diff)
download1989-dawn-of-freedom-1b364f8186a92b28b8d44226f8451fc60a6a751b.tar.gz
Fix Tyrant
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 8ea17a2..7c53d39 100644
--- a/play.js
+++ b/play.js
@@ -629,7 +629,7 @@ function on_update() {
ui.events[C_SYSTEMATIZATION].style.display = "none"
}
- if (view.the_tyrant_is_gone) {
+ if (view.the_tyrant_is_gone && view.the_tyrant_is_gone <= last_space) {
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"