Just upgraded to BUG 2.20, now started getting a python error occasionally:
Save attached - just press enter and wait for error to pop up (or if you've disabled python error popups, read the log when the turn has been generated).
Code:
Traceback (most recent call last):
File "CvEventInterface", line 30, in onEvent
File "CvCustomEventManager", line 124, in handleEvent
File "CvCustomEventManager", line 135, in _handleDefaultEvent
File "Civ4lerts", line 185, in onCityLost
File "Civ4lerts", line 217, in _discardCity
File "Civ4lerts", line 401, in discardCity
AttributeError: 'dict' object has no attribute 'discard'
ERR: Python function onEvent failed, module CvEventInterface
Save attached - just press enter and wait for error to pop up (or if you've disabled python error popups, read the log when the turn has been generated).
Got so carried away with updating the documents that it got mixed up in the shuffle. I'm working on a new help file and so the version number is giong to have to remain until I put out 2.21 with the new help file.... Anyway, I downloaded your save now, and will be doing the testing tonight, and see if I can reproduce it.