From 0b134b17621b55042d6aad4d478ee6dc80bdb5fd Mon Sep 17 00:00:00 2001 From: Choumiko Date: Fri, 16 Oct 2015 19:20:14 +0200 Subject: [PATCH] fix error with update_gui --- control.lua | 18 ------------------ info.json | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/control.lua b/control.lua index c2d0448..e29cac1 100644 --- a/control.lua +++ b/control.lua @@ -314,24 +314,6 @@ function update_gui(player) end gui_init(player) else - for player, store in pairs(global.storage) do - for name, p in pairs(store) do - for i=#p,1,-1 do - if p[i].from ~= "" and not items[p[i].from] then - global.storage[player][name][i].from = "" - global.storage[player][name][i].to = "" - end - if type(p[i].to) == "table" then - for k, m in pairs(p[i].to) do - if m and not items[m] then - global.storage[player][name][i].to[k] = false - end - end - end - end - end - end - for i,player in pairs(game.players) do if player.valid and player.connected then if not global.guiVersion[player.name] then diff --git a/info.json b/info.json index 81317b1..73e6378 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "ModuleInserter", - "version": "0.1.1", + "version": "0.1.2", "title": "Module Inserter", "author": "Choumiko", "homepage": "",