瀏覽代碼

fix stashing quantity = 1

tags/v0.1.2^2
Vladde Nordholm 7 年之前
父節點
當前提交
fc184d77e4
共有 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) {


Loading…
取消
儲存