message: Correctly grant Moorish units in Morocco during their initial flip
diff: @@ -191,17 +191,6 @@ def checkRaiders():
  giveRaiders(iVikings)
  -@handler("BeginGameTurn")
  -def moorishSpawnInMorocoo():
  - if year() == year(710)-1:
  - marrakesh = city_(51, 37)
  - if marrakesh:
  - marrakesh.setHasReligion(iIslam, True, False, False)
  -
  - makeUnit(marrakesh.getOwner(), iSettler, marrakesh)
  - makeUnit(marrakesh.getOwner(), iWorker, marrakesh)
  -
  -
  ### FIRST CONTACT ###
  @handler("firstContact")
  @@ -498,6 +487,18 @@ def createArabArmies(iPlayer):
  makeUnits(iArabia, iSpearman, tBaghdad, 2)
  +@handler("flip")
  +def flipMoorishMaghreb(iPlayer):
  + if civ(iPlayer) == iMoors:
  + city = cities.owner(iPlayer).region(rMaghreb).random()
  +
  + if city:
  + city.setHasReligion(iIslam, True, False, False)
  +
  + makeUnit(iPlayer, iSettler, city)
  + makeUnit(iPlayer, iWorker, city)
  +
  +
  ### IMPLEMENTATION ###
  def relocateCapitals(iPlayer, city):
  