Adds max player population to sim state, based on patch from quantumstate. Fixes #951.
This was SVN commit r10233.
This commit is contained in:
parent
b8a375656e
commit
0eeffd05bd
@ -60,6 +60,7 @@ GuiInterface.prototype.GetSimulationState = function(player)
|
|||||||
"colour": cmpPlayer.GetColour(),
|
"colour": cmpPlayer.GetColour(),
|
||||||
"popCount": cmpPlayer.GetPopulationCount(),
|
"popCount": cmpPlayer.GetPopulationCount(),
|
||||||
"popLimit": cmpPlayer.GetPopulationLimit(),
|
"popLimit": cmpPlayer.GetPopulationLimit(),
|
||||||
|
"popMax": cmpPlayer.GetMaxPopulation(),
|
||||||
"resourceCounts": cmpPlayer.GetResourceCounts(),
|
"resourceCounts": cmpPlayer.GetResourceCounts(),
|
||||||
"trainingQueueBlocked": cmpPlayer.IsTrainingQueueBlocked(),
|
"trainingQueueBlocked": cmpPlayer.IsTrainingQueueBlocked(),
|
||||||
"state": cmpPlayer.GetState(),
|
"state": cmpPlayer.GetState(),
|
||||||
|
Loading…
Reference in New Issue
Block a user