Multiple choice quiz - getting NAN on setting a random number

  • Hey everyone,

    I built a multiple quiz for a tour about 10 years ago. I recently updated to the krpano (1.20.11). It loads a random question from xml each time and on the first load it works ok but on loading the next question it is returning NAN on the random number (ranQuestionNum). I've been trying to work out what is doing this but can't for the life of me find the problem.

    I'm hoping someone could run a pair of fresh eyes over the code please and maybe point out the error.

    Any help is much appreciated, thank you

    Edited once, last by peasn (February 9, 2023 at 4:47 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!