bmarnz
Prince
Is it possible to add cusom game options to the custom game screen with just python and xml. I can get the option in the screen, but when I run a check on the option I keep getting this errors.
Code:
if bHolyCity == False or not CyGame().isOption(GameOptionTypes.GAMEOPTION_LIMITED_RELIGIONS):
Error:
AttributeError: type object 'CvPythonExtensions.GameOptionTypes' has no attribute 'GAMEOPTION_LIMITED_RELIGIONS'
Is this something in the dll or I am I missing something.
My function ran fine before I added the option check. There is a standard option check further down the function that also worked fine.
I'd appreciate any help.
Code:
if bHolyCity == False or not CyGame().isOption(GameOptionTypes.GAMEOPTION_LIMITED_RELIGIONS):
Error:
AttributeError: type object 'CvPythonExtensions.GameOptionTypes' has no attribute 'GAMEOPTION_LIMITED_RELIGIONS'
Is this something in the dll or I am I missing something.
My function ran fine before I added the option check. There is a standard option check further down the function that also worked fine.
I'd appreciate any help.
