Commit 4bb826dd authored by Luboš Horáček's avatar Luboš Horáček

Merge branch 'feature-potme' into 'devel'

Feature potme

See merge request !47
parents 10a16b50 5c68e0b2
...@@ -936,7 +936,7 @@ public class PotmeActivity extends GameActivity implements TileMapClickListener ...@@ -936,7 +936,7 @@ public class PotmeActivity extends GameActivity implements TileMapClickListener
public PotmeDifficulty getPotmeDifficulty() { public PotmeDifficulty getPotmeDifficulty() {
if (potmeDifficulty == null) { if (potmeDifficulty == null) {
boolean firstPlay = currentFirstPlay && (getTablexiaContext().getSelectedUser() != null) && (GameManager.getGamePlayCountForUser(getTablexiaContext().getSelectedUser(), getGameDefinition()) == 0); boolean firstPlay = currentFirstPlay && (getTablexiaContext().getSelectedUser() != null) && (GameManager.getLastGameManagerRegardlessFinishing(getTablexiaContext().getSelectedUser(), getGameDefinition()) == null);
potmeDifficulty = PotmeDifficulty.getPotmeDifficultyForGameDifficulty(getDifficulty(), firstPlay); potmeDifficulty = PotmeDifficulty.getPotmeDifficultyForGameDifficulty(getDifficulty(), firstPlay);
} }
return potmeDifficulty; return potmeDifficulty;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment