Fix typo that prevented the Disable Treasures label of the objectives dialog from showing the correct value.

Remove the double negation "Disable Treasure: Disabled".

Differential Revision: https://code.wildfiregames.com/D523
String accepted by: Sandarac
This was SVN commit r19652.
This commit is contained in:
elexis
2017-05-24 16:53:36 +00:00
parent 6606e89b99
commit 6b743e30b3
@@ -370,8 +370,10 @@ function getGameDescription(extended = false)
});
titles.push({
"label": translate("Disable Treasure"),
"value": g_GameAttributes.settings.DisableTreasure
"label": translate("Treasure"),
"value": g_GameAttributes.settings.DisableTreasures ?
translateWithContext("treasure", "Disabled") :
translateWithContext("treasure", "If the map places it.")
});
titles.push({