Fix typo
This was SVN commit r7940.
This commit is contained in:
parent
9a1e450031
commit
5a42689d5e
@ -109,10 +109,8 @@ function onSimulationUpdate()
|
||||
if (!simState)
|
||||
return;
|
||||
|
||||
|
||||
handleNotifications();
|
||||
|
||||
|
||||
|
||||
updateDebug(simState);
|
||||
updatePlayerDisplay(simState);
|
||||
updateSelectionDetails();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user