v0.6.1: fixed catalog bugs relating to badges
This commit is contained in:
@@ -51,6 +51,8 @@ public class ShatteredPixelDungeon extends Game {
|
||||
|
||||
public static final int v0_5_0b = 157;
|
||||
|
||||
public static final int v0_6_0b = 185;
|
||||
|
||||
public ShatteredPixelDungeon() {
|
||||
super( WelcomeScene.class );
|
||||
|
||||
|
||||
@@ -409,7 +409,9 @@ public class Catalogs {
|
||||
|
||||
for ( LinkedHashMap<Class<? extends Item>, Boolean> cat : allCatalogs){
|
||||
for (Class<? extends Item> item : cat.keySet()){
|
||||
cat.put(item, seen.contains( item.getSimpleName() ));
|
||||
if (seen.contains( item.getSimpleName() )) {
|
||||
cat.put(item, true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user