Changes between Version 3 and Version 6 of Ticket #6692
- Timestamp:
- Jan 16, 2023, 5:53:20 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6692 – Description
v3 v6 44 44 ---- 45 45 46 === possible solution (not from s0600204) 46 === possible solution 47 see [[comment:4|comment:4 by s0600204]] 47 48 {{{#!diff 48 49 --- a/binaries/data/mods/public/gui/session/top_panel/CivIcon.js … … 53 54 // (depending on whether they're "viewing" no-one or gaia respectively) 54 55 - "civ": this.dialogSelection.civ || g_Players[Math.max(g_ViewedPlayer, 1)].civ, 55 + "civ": g_ViewedPlayer > 0 ? g_Players[g_ViewedPlayer].civ : this.dialogSelection.civ || g_Players[ Math.max(g_ViewedPlayer, 1)].civ,56 + "civ": g_ViewedPlayer > 0 ? g_Players[g_ViewedPlayer].civ : this.dialogSelection.civ || g_Players[1].civ, 56 57 57 58 // TODO add info about researched techs and unlocked entities