forked from 0ad/0ad
Fixing the problem that when a civil center was destroyed, the settlement was still controlled by that player and not Gaia.
This was SVN commit r6307.
This commit is contained in:
parent
1196ed1d45
commit
3a4031406c
@ -2133,8 +2133,9 @@ function SettlementAura( source )
|
||||
{
|
||||
if( this.affects( e ) )
|
||||
{
|
||||
// If a Civ Centre has entered our radius, it must mean the one on us died; become visible again
|
||||
// If a Civ Centre has entered our radius, it must mean the one on us died; become visible again and assign it to Gaia.
|
||||
source.visible = true;
|
||||
source.player = players[0]; //player[0] is allways Gaia.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user