Hi,
I have made some modification in CvGameUtils.py. I added code to cannotTrain in order to change what players can build in their cities.
To activate the code I set USE_CANNOT_TRAIN_CALLBACK to 1 in PythonCallbackDefines.xml.
The problem is that the code is still not executed. Did I forgot something ?
Thanks,
Sylvain
I have made some modification in CvGameUtils.py. I added code to cannotTrain in order to change what players can build in their cities.
To activate the code I set USE_CANNOT_TRAIN_CALLBACK to 1 in PythonCallbackDefines.xml.
The problem is that the code is still not executed. Did I forgot something ?
Thanks,
Sylvain