From ea4929c7e70dab7514a40ed7c9f980293a2bf5d3 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 1 Mar 2018 23:51:34 +0300 Subject: [PATCH] Enable tutorial view by default --- src/in/celest/xash3d/LauncherActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/in/celest/xash3d/LauncherActivity.java b/src/in/celest/xash3d/LauncherActivity.java index 8833eae8..68c97df2 100644 --- a/src/in/celest/xash3d/LauncherActivity.java +++ b/src/in/celest/xash3d/LauncherActivity.java @@ -412,7 +412,7 @@ public class LauncherActivity extends Activity { int m_iFirstRunCounter = 0; public void showFirstRun() { - if( m_iFirstRunCounter < 0 ) + /*if( m_iFirstRunCounter < 0 ) m_iFirstRunCounter = 0; final int titleres = getResources().getIdentifier("page_title" + String.valueOf(m_iFirstRunCounter), "string", getPackageName()); @@ -488,7 +488,8 @@ public class LauncherActivity extends Activity { } }, null)); } - }); + });*/ + startActivity(new Intent(this, in.celest.xash3d.XashTutorialActivity.class)); } public void selectFolder(View view)