Aivolution AI:
-fix the "Not enough power to build droid" for AIV too git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4550 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
424a8123b7
commit
3c7b6b4000
|
@ -1312,12 +1312,6 @@ function void mainInitialize()
|
|||
setEventTrigger(startNewResearch, researchCompleteTr);
|
||||
setEventTrigger(startAllResearch, startAllResearchTr);
|
||||
setEventTrigger(evUpdateMapRevealFactor, updateMapRevealFactorTr);
|
||||
|
||||
//if(me != selectedPlayer)
|
||||
if(modifierOn)
|
||||
{
|
||||
setEventTrigger(diffMod, diffModTr);
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
@ -2135,10 +2129,13 @@ function void fixGroups()
|
|||
}
|
||||
}
|
||||
|
||||
event diffMod(inactive)
|
||||
event diffMod(diffModTr)
|
||||
{
|
||||
if(not isHumanPlayer(me) and modifierOn)
|
||||
{
|
||||
skDifficultyModifier(me);
|
||||
}
|
||||
}
|
||||
|
||||
function void goRTB()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue