mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
parent
d9809f464e
commit
259a4e8e57
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ m.AttackManager.prototype.getEnemyPlayer = function(gameState, attack)
|
|||
|
||||
if (gameState.getVictoryConditions().has("capture_the_relic"))
|
||||
if (!enemyPlayer || randBool())
|
||||
enemyPlayer = this.getWonderEnemyPlayer(gameState) || enemyPlayer;
|
||||
enemyPlayer = this.getRelicEnemyPlayer(gameState) || enemyPlayer;
|
||||
|
||||
if (enemyPlayer)
|
||||
return enemyPlayer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue