mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-23 01:15:20 +00:00
Fix to construction resource check.
This was SVN commit r4498.
This commit is contained in:
@@ -29,7 +29,7 @@ const PRODUCTION_RESEARCH = 2;
|
||||
|
||||
// ====================================================================
|
||||
|
||||
function entityInit()
|
||||
function entityInit( evt )
|
||||
{
|
||||
// Initialise an entity when it is first spawned (generate starting hitpoints, etc).
|
||||
|
||||
@@ -69,7 +69,6 @@ function entityInit()
|
||||
else
|
||||
{
|
||||
// Might happen if the player clicks to place 2 buildings really fast
|
||||
console.write( "Could not begin construction: " + result );
|
||||
evt.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user