v0.4.0: fixed a bug in cryptpainter

This commit is contained in:
Evan Debenham 2016-06-09 08:50:54 -04:00 committed by Evan Debenham
parent 51fedcb229
commit 909e3bc445

View File

@ -77,7 +77,7 @@ public class CryptPainter extends Painter {
if (!prize.cursed){
prize.upgrade();
//curse the armor, unless it has a glyph
if (prize.glyph != null){
if (prize.glyph == null){
prize.cursed = prize.cursedKnown = true;
prize.inscribe(Armor.Glyph.randomCurse());
}