Fixes the peak and final map control to be swapped that where added in 4e4f0dbbd8. Patch by pilino1234 - added to the credits. Reviewed by Imarok. Fixes #4262

This was SVN commit r18798.
This commit is contained in:
FeXoR 2016-10-01 16:16:18 +00:00
parent 636da605bb
commit c139b24a6b
2 changed files with 3 additions and 2 deletions

View File

@ -150,6 +150,7 @@
{"nick": "pcpa", "name": "Paulo Andrade"}, {"nick": "pcpa", "name": "Paulo Andrade"},
{"nick": "Pendingchaos"}, {"nick": "Pendingchaos"},
{"nick": "PeteVasi", "name": "Pete Vasiliauskas"}, {"nick": "PeteVasi", "name": "Pete Vasiliauskas"},
{"nick": "pilino1234"},
{"nick": "Polakrity"}, {"nick": "Polakrity"},
{"nick": "Poya", "name": "Poya Manouchehri"}, {"nick": "Poya", "name": "Poya Manouchehri"},
{"name": "Quentin Pradet"}, {"name": "Quentin Pradet"},

View File

@ -485,9 +485,9 @@ function calculateMiscellaneous(counters)
else if (w == 3) else if (w == 3)
teamTotal = g_TeamHelperData[t].percentMapExplored + "%"; teamTotal = g_TeamHelperData[t].percentMapExplored + "%";
else if (w == 4) else if (w == 4)
teamTotal = g_TeamHelperData[t].percentMapControlled + "%";
else if (w == 5)
teamTotal = g_TeamHelperData[t].peakPercentMapControlled + "%"; teamTotal = g_TeamHelperData[t].peakPercentMapControlled + "%";
else if (w == 5)
teamTotal = g_TeamHelperData[t].percentMapControlled + "%";
Engine.GetGUIObjectByName("valueDataTeam[" + t + "][" + w + "]").caption = teamTotal; Engine.GetGUIObjectByName("valueDataTeam[" + t + "][" + w + "]").caption = teamTotal;
} }