v0.9.3: fixed quickslots rarely not updating when upgrading thrown weps
This commit is contained in:
+3
-1
@@ -120,7 +120,9 @@ abstract public class MissileWeapon extends Weapon {
|
|||||||
Item similar = Dungeon.hero.belongings.getSimilar(this);
|
Item similar = Dungeon.hero.belongings.getSimilar(this);
|
||||||
if (similar != null){
|
if (similar != null){
|
||||||
detach(Dungeon.hero.belongings.backpack);
|
detach(Dungeon.hero.belongings.backpack);
|
||||||
return similar.merge(this);
|
Item result = similar.merge(this);
|
||||||
|
updateQuickslot();
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
updateQuickslot();
|
updateQuickslot();
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Reference in New Issue
Block a user