The leaderboard and achievment works as it should. But every now and then it restarts the game when opening the achievment/leaderboard.
So what happens is I click leaderboard/achievment it gives a popup(play game center) but while it is opened it restarts my game in the background. I can still see the achievment/leaderboard. This happens with the new compiler as well with the old one.
I hope someone can help me. So far Cocoon js works great but I really like to have a stable game.