if oldunit.getGroup().isAutomated():
pFemaleUnit.getGroup().setAutomateType(AutomateTypes.AUTOMATE_RELIGION)
[B]## If city has a rally point send the female missionary there
else:
rallyPlot = city.getRallyPlot()
if not (rallyPlot == None):
pFemaleUnit.getGroup().pushMission(MissionTypes.MISSION_MOVE_TO, rallyPlot.getX(), rallyPlot.getY(), 0, False, True, MissionAITypes.NO_MISSIONAI, pFemaleUnit.plot(), pFemaleUnit)[/B]