Deactivate reached oil resource script when human player is playing. Bug reported by cyp_.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9532 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2010-01-27 22:41:07 +00:00 committed by Git SVN Gateway
parent c597cba214
commit eb5f9d4395
1 changed files with 2 additions and 0 deletions

View File

@ -3038,6 +3038,7 @@ function void shutDownAI()
setEventTrigger(structureDestroyed,inactive);
setEventTrigger(rebuildStructureEv,inactive);
setEventTrigger(startLevel, inactive);
setEventTrigger(arrived, inactive);
}
function void reassignAI()
@ -3092,6 +3093,7 @@ function void reassignAI()
setEventTrigger(structureDestroyed, structureDestroyedTr);
setEventTrigger(rebuildStructureEv, rebuildStructureTr);
setEventTrigger(startLevel, startLevelTr);
setEventTrigger(arrived, reachedTr);
}
/* Returns true if we just received a beacon from a certain player */