Alrik2002
Warlord
Hi,
im getting the following error:
CvEventManager, line 2705 in red:
Could anyone please explain what´s causing the error? Thank you!
im getting the following error:
Code:
Traceback (most recent call last):
File "BugEventManager", line 362, in _handleDefaultEvent
File "CvEventManager", line 2705, in onCityAcquired
ValueError: need more than 5 values to unpack
CvEventManager, line 2705 in red:
Code:
def onCityAcquired(self, argsList):
'City Acquired'
[COLOR="Red"]iOwner,iPreviousOwner,iNewOwner,pCity,bConquest,bTrade = argsList[/COLOR]
CvUtil.pyPrint('City Acquired Event: %s' %(pCity.getName()))
Could anyone please explain what´s causing the error? Thank you!