I really like your plugin and it works all really well.
Except if I choose Quiz for questionsource and set "Randomize questions" to "No". When i want to start my game now I get this error:
Notice: Undefined property: stdClass::$questions in C:\xampp\htdocs\moodle\mod\game\millionaire\play.php on line 410
Notice: Undefined property: stdClass::$questions in C:\xampp\htdocs\moodle\mod\game\millionaire\play.php on line 411
error/There are no questions
Debug info:
Error code: There are no questions
$a contents:
Stack trace:
line 463 of \lib\setuplib.php: moodle_exception thrown
line 338 of \mod\game\millionaire\play.php: call to print_error()
line 271 of \mod\game\millionaire\play.php: call to game_millionaire_SelectQuestion()
line 81 of \mod\game\millionaire\play.php: call to game_millionaire_ShowNextQuestion()
line 22 of \mod\game\millionaire\play.php: call to game_millionaire_play()
line 205 of \mod\game\attempt.php: call to game_millionaire_continue()
line 180 of \mod\game\attempt.php: call to game_create()
line 25 of \mod\game\attempt.php: call to game_do_attempt()
I'm currently using Moodle-version 2.7.2.
I would appreciate your help
Thank you
Tom