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-861f7616d084master
parent
c597cba214
commit
eb5f9d4395
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue