Only add time and hints used in a Sudoku to HighscoreInfoContainer if sudoku isn't custom
This commit is contained in:
parent
f9d053a069
commit
8027b8b409
1 changed files with 2 additions and 2 deletions
|
@ -204,12 +204,12 @@ public class SaveLoadStatistics implements ITimerListener, IHintListener {
|
|||
|
||||
@Override
|
||||
public void onTick(int time) {
|
||||
incTime(gc.getDifficulty(), gc.getGameType());
|
||||
if (!gc.gameIsCustom()) incTime(gc.getDifficulty(), gc.getGameType());
|
||||
//gc.getUsedHints();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onHintUsed() {
|
||||
incHints(gc.getDifficulty(),gc.getGameType());
|
||||
if (!gc.gameIsCustom()) incHints(gc.getDifficulty(),gc.getGameType());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue