message: Fixed a bug that activated religious goals for AI civilisations
diff: @@ -136,10 +136,11 @@ def onSwitch(iPrevious, iCurrent):
  @handler("civicChanged")
  def onCivicChanged(iPlayer, iOldCivic, iNewCivic):
  - if infos.civic(iOldCivic).isStateReligion() != infos.civic(iNewCivic).isStateReligion():
  + if iPlayer == active() and infos.civic(iOldCivic).isStateReligion() != infos.civic(iNewCivic).isStateReligion():
  switchReligiousGoals(iPlayer)
  @handler("playerChangeStateReligion")
  def onStateReligionChanged(iPlayer):
  + if iPlayer == active():
  switchReligiousGoals(iPlayer)
  \ No newline at end of file
  