v1.4.0: fixed a bug with alchemy guide in new journal window
This commit is contained in:
@@ -14,7 +14,7 @@ allprojects {
|
|||||||
appName = 'Shattered Pixel Dungeon'
|
appName = 'Shattered Pixel Dungeon'
|
||||||
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
||||||
|
|
||||||
appVersionCode = 650
|
appVersionCode = 651
|
||||||
appVersionName = '1.4.0-ALPHA-1'
|
appVersionName = '1.4.0-ALPHA-1'
|
||||||
|
|
||||||
appJavaCompatibility = JavaVersion.VERSION_1_8
|
appJavaCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ public class WndJournal extends WndTabbed {
|
|||||||
|
|
||||||
private void updateList() {
|
private void updateList() {
|
||||||
|
|
||||||
if (!Document.ALCHEMY_GUIDE.isPageFound(currentPageIdx)){
|
if (currentPageIdx != -1 && !Document.ALCHEMY_GUIDE.isPageFound(currentPageIdx)){
|
||||||
currentPageIdx = -1;
|
currentPageIdx = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user