mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-12 02:15:13 +00:00
This was SVN commit r6241.
This commit is contained in:
@@ -1761,7 +1761,7 @@ function checkEntityReqs( player, template )
|
||||
break
|
||||
default:
|
||||
// If the item costs more of this resource type than we have,
|
||||
var cur = player.resources[resource];
|
||||
var cur = parseInt(player.resources[resource]);
|
||||
var req = parseInt(resources[resource]);
|
||||
if (req > cur)
|
||||
{
|
||||
@@ -2300,3 +2300,4 @@ function updateMessageView()
|
||||
getGUIObjectByName("globalMessage").caption = result;
|
||||
getGUIObjectByName("globalMessageUnder").caption = result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user