Only add time and hints used in a Sudoku to HighscoreInfoContainer if sudoku isn't custom

This commit is contained in:
uykek 2020-07-14 10:08:42 +02:00
parent f9d053a069
commit 8027b8b409

View file

@ -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());
}
}