Ticket #3703: t3703_summary_error.diff
File t3703_summary_error.diff, 1.1 KB (added by , 8 years ago) |
---|
-
binaries/data/mods/public/gui/summary/counters.js
96 96 total.d += (+splitCaption[2]); 97 97 } 98 98 99 let teamTotal = g_Trained _Color + total.c + '[/color] / ' +100 g_Lost _Color + total.l + '[/color] / ' + g_Killed_Color + total.d + '[/color]';99 let teamTotal = g_TrainedColor + total.c + '[/color] / ' + 100 g_LostColor + total.l + '[/color] / ' + g_KilledColor + total.d + '[/color]'; 101 101 102 102 Engine.GetGUIObjectByName("valueDataTeam[" + t + "][" + w + "]").caption = teamTotal; 103 103 } … … 306 306 g_TeamMiscHelperData[playerState.team][position].unitsLost = playerState.statistics.unitsLost.total; 307 307 308 308 if (!playerState.statistics.enemyUnitsKilled.total) 309 return g_DefaultDecimal 309 return g_DefaultDecimal; 310 310 311 311 if (!playerState.statistics.unitsLost.total) // and enemyUnitsKilled.total > 0 312 312 return g_InfiniteSymbol; // infinity symbol