Fixed a minor bug in the research display; removed an unnecessary comma.
This was SVN commit r12246.
This commit is contained in:
parent
be3ca61d43
commit
83ca7142b6
@ -460,7 +460,7 @@ function updateResearchDisplay()
|
||||
for (var tech in researchStarted)
|
||||
{
|
||||
// Show at most 10 in-progress techs.
|
||||
if (numButtons > 10)
|
||||
if (numButtons >= 10)
|
||||
break;
|
||||
|
||||
var template = GetTechnologyData(tech);
|
||||
|
@ -86,7 +86,7 @@ GuiInterface.prototype.GetSimulationState = function(player)
|
||||
"isEnemy": enemies,
|
||||
"buildLimits": cmpPlayerBuildLimits.GetLimits(),
|
||||
"buildCounts": cmpPlayerBuildLimits.GetCounts(),
|
||||
"techModifications": cmpTechnologyManager.GetTechModifications(),
|
||||
"techModifications": cmpTechnologyManager.GetTechModifications()
|
||||
};
|
||||
ret.players.push(playerData);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user