help please re:python current player

here's my code:
Code:
def doLimitedReligionsCheck(self):	

		iPlayer =  1
		apCityList = PyPlayer(iPlayer).getCityList()
		for pCity in apCityList:				
                                     for iReligionLoop in range(gc.getNumReligionInfos()):
				if pCity.isHolyCityByType(iReligionLoop):

					return True
					break

see iPlayer=1? thats my issue. the rest of the code works.
 
Back
Top Bottom