mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-12 08:14:22 +00:00
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:
@@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user