From 3a665ee0108363c36c92f6e2b58c706740570631 Mon Sep 17 00:00:00 2001
From: pilino1234 <mhilgendrf@aol.com>
Date: Sat, 1 Oct 2016 12:23:22 +0200
Subject: [PATCH] Fix summary screen bug
Fix a bug where the map control values ("At peak" and "At finish") were the
wrong way around in the summary screen.
---
binaries/data/mods/public/gui/credits/texts/programming.json | 1 +
binaries/data/mods/public/gui/summary/counters.js | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/binaries/data/mods/public/gui/credits/texts/programming.json b/binaries/data/mods/public/gui/credits/texts/programming.json
index 5b84a3b..b315507 100644
a
|
b
|
|
150 | 150 | {"nick": "pcpa", "name": "Paulo Andrade"}, |
151 | 151 | {"nick": "Pendingchaos"}, |
152 | 152 | {"nick": "PeteVasi", "name": "Pete Vasiliauskas"}, |
| 153 | {"nick": "pilino1234"}, |
153 | 154 | {"nick": "Polakrity"}, |
154 | 155 | {"nick": "Poya", "name": "Poya Manouchehri"}, |
155 | 156 | {"name": "Quentin Pradet"}, |
diff --git a/binaries/data/mods/public/gui/summary/counters.js b/binaries/data/mods/public/gui/summary/counters.js
index 19617c8..a46dd31 100644
a
|
b
|
function calculateMiscellaneous(counters)
|
485 | 485 | else if (w == 3) |
486 | 486 | teamTotal = g_TeamHelperData[t].percentMapExplored + "%"; |
487 | 487 | else if (w == 4) |
488 | | teamTotal = g_TeamHelperData[t].percentMapControlled + "%"; |
489 | | else if (w == 5) |
490 | 488 | teamTotal = g_TeamHelperData[t].peakPercentMapControlled + "%"; |
| 489 | else if (w == 5) |
| 490 | teamTotal = g_TeamHelperData[t].percentMapControlled + "%"; |
491 | 491 | |
492 | 492 | Engine.GetGUIObjectByName("valueDataTeam[" + t + "][" + w + "]").caption = teamTotal; |
493 | 493 | } |