1
0
forked from 0ad/0ad
This was SVN commit r7940.
This commit is contained in:
WhiteTreePaladin 2010-08-13 22:06:19 +00:00
parent 9a1e450031
commit 5a42689d5e
2 changed files with 2 additions and 4 deletions

View File

@ -109,10 +109,8 @@ function onSimulationUpdate()
if (!simState)
return;
handleNotifications();
updateDebug(simState);
updatePlayerDisplay(simState);
updateSelectionDetails();

View File

@ -103,7 +103,7 @@ Player.prototype.TrySubtractResources = function(amounts)
{
// Subtract the resources
for (var type in amounts)
his.resourceCount[type] -= amounts[type];
this.resourceCount[type] -= amounts[type];
}
return true;