correction.... Your mod does work. My copy&pasting doesn't.
ah well - gotta troubleshoot it.
ah well - gotta troubleshoot it.
def onImprovementBuilt(self, argsList): 'Improvement Built' iImprovement, iX, iY = argsList if (not self.__LOG_IMPROVEMENT): return CvUtil.pyPrint('Improvement %s was built at %d, %d' %(PyInfo.ImprovementInfo(iImprovement).getDescription(), iX, iY))
Comment