diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -995,10 +995,13 @@ function on_update() { once = false } + let curr = view.current === -1 ? VE : view.current switch (player) { case "Delhi Sultanate": ui.favicon.href = faction_flags[DS]; break case "Bahmani Kingdom": ui.favicon.href = faction_flags[BK]; break case "Vijayanagara Empire": ui.favicon.href = faction_flags[VE]; break + case "Solo": ui.favicon.href = faction_flags[curr]; break + case "Observer": ui.favicon.href = faction_flags[curr]; break } // Dice rolling @@ -1077,10 +1080,8 @@ function on_update() { if (s <= last_province) { -console.log("LAYOUT PROV", data.space_name[s]) troops.length = elites.length = discs.length = 0 filter_piece_list(discs, s, DS, DISC) -console.log(" DS DISCS", discs.length) filter_piece_list(elites, s, DS, ELITE) filter_piece_list(troops, s, DS, TROOPS) xy = get_layout_xy(s, "DS") |