Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vaifrax committed Jun 23, 2016
2 parents 6ccea3f + 9fada1b commit 2c7951b
Show file tree
Hide file tree
Showing 3 changed files with 1,063 additions and 721 deletions.
4 changes: 4 additions & 0 deletions leaderboard-standalone/src/GameOptions.java
Expand Up @@ -35,6 +35,7 @@ public GameOptions(String gameID, Connection con) throws SQLException {
if (rs.next()) { // only first position
maxEntries = rs.getInt("maxEntries");
onlyKeepBestEntry = rs.getBoolean("onlyKeepBestEntry");
addUpScore = rs.getBoolean("addUpScore");
socialnetwork = rs.getString("socialnetwork");
}
if (LeaderboardREST.DEBUG) {
Expand All @@ -52,4 +53,7 @@ public GameOptions(String gameID, Connection con) throws SQLException {

protected boolean onlyKeepBestEntry;
public boolean getOnlyKeepBestEntry() { return onlyKeepBestEntry; }

protected boolean addUpScore;
public boolean getAddUpScore() { return addUpScore; }
}

0 comments on commit 2c7951b

Please sign in to comment.