v0.2.4: refactored handling the quickslot when equipping.
This commit is contained in:
@@ -126,11 +126,7 @@ public class Ring extends KindofMisc {
|
||||
hero.belongings.misc2 = this;
|
||||
}
|
||||
|
||||
int slot = Dungeon.quickslot.getSlot( this );
|
||||
|
||||
detach( hero.belongings.backpack );
|
||||
|
||||
if (slot != -1) Dungeon.quickslot.setSlot( slot, this );
|
||||
|
||||
activate( hero );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user