|
@@ -192,7 +192,11 @@ class GameIntroductionActivity :
|
|
|
if (isEnterGame) {
|
|
if (isEnterGame) {
|
|
|
val exitGameDialog = ExitGameDialog()
|
|
val exitGameDialog = ExitGameDialog()
|
|
|
exitGameDialog.onDialogClickListener = {
|
|
exitGameDialog.onDialogClickListener = {
|
|
|
- JumpUtil.jumpActivity(RouterUrlCommon.freeTrain, mContext)
|
|
|
|
|
|
|
+ if (TextUtils.equals("A", playClass)) {
|
|
|
|
|
+ JumpUtil.jumpActivity(RouterUrlCommon.home, mContext)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ JumpUtil.jumpActivity(RouterUrlCommon.freeTrain, mContext)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
exitGameDialog.show(supportFragmentManager, "exitGameDialog")
|
|
exitGameDialog.show(supportFragmentManager, "exitGameDialog")
|
|
|
} else {
|
|
} else {
|