浏览代码

Merge branch '74-stash-quanity' into 'staging'

fix stashing quantity = 1

See merge request !64
tags/v0.1.2^2
Big Bad Waffle 7 年前
父节点
当前提交
ca39520848
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      src/server/components/inventory.js

+ 3
- 2
src/server/components/inventory.js 查看文件

@@ -153,9 +153,10 @@ define([
var stash = this.obj.stash;
if (!stash.active)
return;

var clonedItem = extend(true, {}, item);
this.destroyItem(id);
stash.deposit(item);
stash.deposit(clonedItem);
},

salvageItem: function(id) {


正在加载...
取消
保存