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 @Override
public void onTick(int time) { public void onTick(int time) {
incTime(gc.getDifficulty(), gc.getGameType()); if (!gc.gameIsCustom()) incTime(gc.getDifficulty(), gc.getGameType());
//gc.getUsedHints(); //gc.getUsedHints();
} }
@Override @Override
public void onHintUsed() { public void onHintUsed() {
incHints(gc.getDifficulty(),gc.getGameType()); if (!gc.gameIsCustom()) incHints(gc.getDifficulty(),gc.getGameType());
} }
} }