Skip to content
Snippets Groups Projects
Commit d5c4d223 authored by Turid Cecilie Dahl's avatar Turid Cecilie Dahl
Browse files

#45 added tournamentid to putRoundScore

parent 0196fff1
No related branches found
No related tags found
1 merge request!50Resolve "Koble opp createJoinTournements/TournamentHighScoreState/LoginState mot backend"
...@@ -56,7 +56,7 @@ public abstract class PlayStateTemplate extends State { ...@@ -56,7 +56,7 @@ public abstract class PlayStateTemplate extends State {
if(round==null) { if(round==null) {
QueryIntermediate.postHighscore(GameWare.getInstance().getPlayer().getId(), gameId, this.score); QueryIntermediate.postHighscore(GameWare.getInstance().getPlayer().getId(), gameId, this.score);
} else{ } else{
nextRound = QueryIntermediate.putRoundScore(round.get_id(), this.score); nextRound = QueryIntermediate.putRoundScore(round.get_id(),tournament.get_id(), this.score);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment