Browse Source

fixes #790

tags/v0.2.1^2
Big Bad Waffle 5 years ago
parent
commit
97fea76e32
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/client/js/components/inventory.js

+ 1
- 0
src/client/js/components/inventory.js View File

@@ -22,6 +22,7 @@ define([
if (blueprint.getItems) {
let items = this.items;
let newItems = blueprint.getItems || [];
newItems.spliceWhere(n => (blueprint.destroyItems || []).includes(n.id));
let nLen = newItems.length;

for (let i = 0; i < nLen; i++) {


Loading…
Cancel
Save