v0.2.2b: fixed a bug with challenges and dropped items

This commit is contained in:
Evan Debenham 2014-11-15 20:49:33 -05:00
parent 9943f5da90
commit 4d4959c40d

View File

@ -572,7 +572,9 @@ public abstract class Level implements Bundlable {
(Dungeon.isChallenged( Challenges.NO_HEALING ) && item instanceof PotionOfHealing) || (Dungeon.isChallenged( Challenges.NO_HEALING ) && item instanceof PotionOfHealing) ||
(Dungeon.isChallenged( Challenges.NO_HERBALISM ) && (item instanceof Plant.Seed || item instanceof Dewdrop))) { (Dungeon.isChallenged( Challenges.NO_HERBALISM ) && (item instanceof Plant.Seed || item instanceof Dewdrop))) {
return new Heap(); Heap heap = new Heap();
GameScene.add( heap );
return heap;
} }