Hi there
I would like to add an option to my game. My game is already public on BGA.
I know i can modify my gameoptions.inc.php but i guess it is gonna brake for already existing game if i call in my php :
I did not find a way to initialize it in preexisting game.
How can i avoid to get an error while accessing my game state value in a game where it does not exist yet?
I would like to add an option to my game. My game is already public on BGA.
I know i can modify my gameoptions.inc.php but i guess it is gonna brake for already existing game if i call in my php :
Code: Select all
$this->getGameStateValue('mynewoption')How can i avoid to get an error while accessing my game state value in a game where it does not exist yet?