summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/play.js b/play.js
index 43ba4bc..f9f2c75 100644
--- a/play.js
+++ b/play.js
@@ -880,6 +880,7 @@ function on_update() {
action_button("end_rout", "End rout")
action_button("end_retreat", "End retreat")
action_button("end_combat", "End combat")
+ action_button("end_deployment", "End deployment")
action_button("end_buildup", "End buildup")
action_button("end_turn", "End turn")
@@ -928,6 +929,11 @@ function on_log_line(text, cn) {
function on_log(text) {
let p = document.createElement("div")
+ if (text.match(/^>>/)) {
+ text = text.substring(2)
+ p.className = "ii"
+ }
+
if (text.match(/^>/)) {
text = text.substring(1)
p.className = "i"