Don't show captured units in summary.
Since siege isn't capturable anymore since d583048690
.
Reported by: fmmaks at
https://wildfiregames.com/forum/topic/73490-cant-capture-siege-engines-alpha-25/#comment-484544.
Patch by: @Langbart
Differential revision: https://code.wildfiregames.com/D4538
Fixes #6455
This was SVN commit r26658.
This commit is contained in:
parent
4af4fa84e3
commit
6db68dbe8e
@ -81,11 +81,10 @@ var getScorePanelsData = () => [
|
||||
],
|
||||
"titleHeadings": [
|
||||
{
|
||||
"caption": sprintf(translate("Unit Statistics (%(trained)s / %(killed)s / %(captured)s / %(lost)s)"),
|
||||
"caption": sprintf(translate("Unit Statistics (%(trained)s / %(killed)s / %(lost)s)"),
|
||||
{
|
||||
"trained": getColoredTypeTranslation("trained"),
|
||||
"killed": getColoredTypeTranslation("killed"),
|
||||
"captured": getColoredTypeTranslation("captured"),
|
||||
"lost": getColoredTypeTranslation("lost")
|
||||
}),
|
||||
"yStart": 16,
|
||||
@ -93,13 +92,13 @@ var getScorePanelsData = () => [
|
||||
}, // width = 785
|
||||
],
|
||||
"counters": [
|
||||
{ "width": 105, "fn": calculateUnitsWithCaptured, "verticalOffset": 3 },
|
||||
{ "width": 105, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnitsWithCaptured, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 },
|
||||
{ "width": 85, "fn": calculateUnits, "verticalOffset": 3 }
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user