ripple01
Emperor
Hello all,
I am using a modified GameUtils.py that includes code from the Inquisitor mod and zebra9's zReligion mod. When I simulate a game using aiplay, it locks up around turn 300 with the following:
Traceback (most recent call last)
File "CvGameInterface", line 180 in AI_chooseProduction
File "CvGameUtils", line 236, in AI_chooseProduction
NameError: global name "pPlayer" is not defined
I've attached my GameUtils.py file. Could anyone look at this and suggest any fixes?
Thanks,
ripple01
I am using a modified GameUtils.py that includes code from the Inquisitor mod and zebra9's zReligion mod. When I simulate a game using aiplay, it locks up around turn 300 with the following:
Traceback (most recent call last)
File "CvGameInterface", line 180 in AI_chooseProduction
File "CvGameUtils", line 236, in AI_chooseProduction
NameError: global name "pPlayer" is not defined
I've attached my GameUtils.py file. Could anyone look at this and suggest any fixes?
Thanks,
ripple01