v0.6.1b: adjusted error checking on sad ghost's dialog
This commit is contained in:
+1
-2
@@ -21,7 +21,6 @@
|
||||
|
||||
package com.shatteredpixel.shatteredpixeldungeon.windows;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Challenges;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Ghost;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||
@@ -82,7 +81,7 @@ public class WndSadGhost extends Window {
|
||||
btnWeapon.setRect( 0, message.top() + message.height() + GAP, WIDTH, BTN_HEIGHT );
|
||||
add( btnWeapon );
|
||||
|
||||
if (!Dungeon.isChallenged( Challenges.NO_ARMOR )) {
|
||||
if (Ghost.Quest.armor != null) {
|
||||
RedButton btnArmor = new RedButton( Messages.get(this, "armor") ) {
|
||||
@Override
|
||||
protected void onClick() {
|
||||
|
||||
Reference in New Issue
Block a user