Commit 5c68e0b2 authored by Matyáš Latner's avatar Matyáš Latner

#324 Spouštění tutoriálu "Potme" jen jednou

parent 4ba86765
......@@ -936,7 +936,7 @@ public class PotmeActivity extends GameActivity implements TileMapClickListener
public PotmeDifficulty getPotmeDifficulty() {
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);
}
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