Commit b44bdafb authored by qq247321453's avatar qq247321453

exit tip

parent 85c93c54
......@@ -504,11 +504,11 @@ public class YGOMobileActivity extends GameActivity implements
mGlobalEditText.dismiss();
return;
}
if (lasttime == 0 || (System.currentTimeMillis() - lasttime) < 1000) {
if (lasttime == 0 || (System.currentTimeMillis() - lasttime) > 1000) {
lasttime = System.currentTimeMillis();
Toast.makeText(this, R.string.tip_please_quit_in_game, Toast.LENGTH_SHORT).show();
return;
}
Toast.makeText(this, R.string.tip_please_quit_in_game, Toast.LENGTH_SHORT).show();
// super.onWindowFocusChanged(false);
// onGameExit();
}
......
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