diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1064,6 +1064,7 @@ function on_update() { // Command buttons action_button("attack", "Attack") + action_button("end_attack", "End Attack") action_button("migrate", "Migrate") action_button("end_migrate", "End Migrate") action_button("rally", "Rally") @@ -1385,7 +1386,7 @@ function on_log(text) { text = text.substring(4) p.className = "h2 ds" } - else if (text.match(/^\.h2 ds/)) { + else if (text.match(/^\.h2 DS/)) { text = text.substring(6) p.className = "h2 ds" } @@ -1393,7 +1394,7 @@ function on_log(text) { text = text.substring(4) p.className = "h2 bk" } - else if (text.match(/^\.h2 bk/)) { + else if (text.match(/^\.h2 BK/)) { text = text.substring(6) p.className = "h2 bk" } @@ -1401,7 +1402,7 @@ function on_log(text) { text = text.substring(4) p.className = "h2 ve" } - else if (text.match(/^\.h2 ve/)) { + else if (text.match(/^\.h2 VE/)) { text = text.substring(6) p.className = "h2 ve" } @@ -1409,6 +1410,10 @@ function on_log(text) { text = text.substring(4) p.className = "h2 mi" } + else if (text.match(/^\.h2 MI/)) { + text = text.substring(4) + p.className = "h2 mi" + } else if (text.match(/^\.h2 /)) { text = text.substring(3) p.className = "h2" |