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