I have two layouts (menu/game) and point recording takes place in the game layout. Then, when the game ends, the system opens the menu layout and, if a boolean is true, it register the date, amount of variable points e level, and then shows the score. I am having to restart layout otherwise the score will not update
This works perfectly on Firefox, but when I tested it on Edge, Safari and Chrome, the score is always zero.
Could this be due to some incompatibility of local Storage with other browsers? If it works perfectly for Firefox, could there still be an error in the code?
Thanks