Преглед на файлове

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) {


Зареждане…
Отказ
Запис