1
0
forked from 0ad/0ad

Adds max player population to sim state, based on patch from quantumstate. Fixes #951.

This was SVN commit r10233.
This commit is contained in:
historic_bruno 2011-09-09 00:45:06 +00:00
parent b8a375656e
commit 0eeffd05bd

View File

@ -60,6 +60,7 @@ GuiInterface.prototype.GetSimulationState = function(player)
"colour": cmpPlayer.GetColour(),
"popCount": cmpPlayer.GetPopulationCount(),
"popLimit": cmpPlayer.GetPopulationLimit(),
"popMax": cmpPlayer.GetMaxPopulation(),
"resourceCounts": cmpPlayer.GetResourceCounts(),
"trainingQueueBlocked": cmpPlayer.IsTrainingQueueBlocked(),
"state": cmpPlayer.GetState(),