Commit 1e7006f3 authored by Luboš Horáček's avatar Luboš Horáček

Odhlášení uživatele po dialogu ve hře

parent 86d3532e
...@@ -354,10 +354,8 @@ public class MainMenu extends AbstractMenu implements OnGroupClickListener, OnCh ...@@ -354,10 +354,8 @@ public class MainMenu extends AbstractMenu implements OnGroupClickListener, OnCh
tablexiaContext.getTablexiaState().setAndSaveActiveUser(null); tablexiaContext.getTablexiaState().setAndSaveActiveUser(null);
if (activity instanceof GameActivity) { if (activity instanceof GameActivity) {
tablexiaContext.hardResetUser();
// changeMenuItem(MainMenuDefinition.LOGOUT, false, false);
((GameActivity) activity).setResult(MainActivity.RESULT_CODE_NEW_USER); ((GameActivity) activity).setResult(MainActivity.RESULT_CODE_NEW_USER);
// ((GameActivity) activity).finish(); tablexiaContext.hardResetUser();
} }
super.positiveAction(); super.positiveAction();
......
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