1
0
forked from 0ad/0ad

Fixed a minor bug in the research display; removed an unnecessary comma.

This was SVN commit r12246.
This commit is contained in:
Deiz 2012-07-31 03:39:35 +00:00
parent be3ca61d43
commit 83ca7142b6
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);
}