v0.2.4c: fixed a bug where wand of magic missile would stay in quickslot when disenchanted while equipped

This commit is contained in:
Evan Debenham 2015-03-07 20:11:05 -05:00
parent ec1a4823b6
commit 6fdb9f3a4f

View File

@ -136,6 +136,9 @@ public class WandOfMagicMissile extends Wand {
evoke( curUser );
GLog.w( TXT_DISENCHANTED, item.name() );
Dungeon.quickslot.clearItem(WandOfMagicMissile.this);
WandOfMagicMissile.this.updateQuickslot();
item.upgrade();
curUser.spendAndNext( TIME_TO_DISENCHANT );