v1.4.0: fixed a bug with alchemy guide in new journal window

This commit is contained in:
Evan Debenham
2022-09-08 13:02:51 -04:00
parent f37ea611f9
commit aa567b61ac
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ allprojects {
appName = 'Shattered Pixel Dungeon'
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
appVersionCode = 650
appVersionCode = 651
appVersionName = '1.4.0-ALPHA-1'
appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@@ -329,7 +329,7 @@ public class WndJournal extends WndTabbed {
private void updateList() {
if (!Document.ALCHEMY_GUIDE.isPageFound(currentPageIdx)){
if (currentPageIdx != -1 && !Document.ALCHEMY_GUIDE.isPageFound(currentPageIdx)){
currentPageIdx = -1;
}