So I imported the Scoreboard class, edited it a bit and then the scores was in the wrong order, I fixed it with reimporting the class, but now with the following code to add the scoreboard, I get the wrong Scores. It is my scenario Arena. I have an old code who uses the same method to get the Score but this one shows a score much higher then the score board. Here my code
get Score looks like this:
UserInfo me = UserInfo.getMyInfo();
if (me != null)
{
if (getScore() > me.getScore())
{
// It's a high-score, only update the score if ours is now higher:
me.setScore(getScore());
me.store();
}
}
addObject(new ScoreBoard(1000, 600), getWidth() / 2, getHeight() / 2); public int getScore()
{
return score;
}

