1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-15 13:53:09 +02:00

removed items with equipment grids from sorting

This commit is contained in:
MewMew 2019-09-30 14:08:45 +02:00
parent 7e64c14ec1
commit 8984d7fa1c

View File

@ -166,9 +166,11 @@ local function auto_stash(player)
chest_floating_text_y_offsets = {}
for name, count in pairs(inventory.get_contents()) do
if not inventory.find_item_stack(name).grid then
insert_item_into_chest(inventory, chests, filtered_chests, name, count)
end
end
end
local function create_gui_button(player)
if player.gui.top.auto_stash then return end