diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-01-25 17:33:33 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-01-25 17:33:33 +0100 |
commit | c3296b16c2430fefeedb223d71ac27db0c74d63a (patch) | |
tree | 8a618f6dfc66b85a88cb3fd871d500d98b64e712 | |
parent | 97a65af76ed3fa247a8415a45e93b2c3dec59e5c (diff) | |
download | maria-c3296b16c2430fefeedb223d71ac27db0c74d63a.tar.gz |
show piece abbreviation in tooltip
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -986,7 +986,7 @@ function on_blur_city() { function on_focus_piece(evt) { let p = evt.target.my_id - let text = piece_log_name[p] + let text = piece_abbr[p] + " - " + piece_log_name[p] if (p < 20 && view.troops[p] > 0) { text += " (" + view.troops[p] + " troops" if (view.oos & (1 << p)) |