From c3296b16c2430fefeedb223d71ac27db0c74d63a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 25 Jan 2025 17:33:33 +0100 Subject: show piece abbreviation in tooltip --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.js b/play.js index 1306071..e102523 100644 --- a/play.js +++ b/play.js @@ -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)) -- cgit v1.2.3