- disqualify(player, "CHEAT", "cheated. Banning account.");
- player.view.markCheat();
- disqual = true;
+ switch(league.cheatLevel) {
+ case ALLOWED:
+ break;
+ case TOLERATED:
+ player.view.markCheat();
+ if (model.random.nextInt(2) == 0) player.model.loseRound();
+ break;
+ case FORBIDDEN:
+ disqualify(player, "CHEAT", "cheated. Banning account.");
+ player.view.markCheat();
+ disqual = true;
+ break;
+ }