summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-10 10:42:28 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-10 10:42:28 +0000
commit4913146fdf49ff941e582970c6056d21444e6efa (patch)
treee4742973a8f89d02b5f46f4230b0974bd611637a /play.js
parented2d5925862d2a37f90413eff8f9a25a71170079 (diff)
download1989-dawn-of-freedom-4913146fdf49ff941e582970c6056d21444e6efa.tar.gz
Update implementation of 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 7c53d39..8ea17a2 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 && view.the_tyrant_is_gone <= last_space) {
+ 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"