Skip to content

Commit 0b134b1

Browse files
committed
fix error with update_gui
1 parent 2942ec2 commit 0b134b1

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

control.lua

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -314,24 +314,6 @@ function update_gui(player)
314314
end
315315
gui_init(player)
316316
else
317-
for player, store in pairs(global.storage) do
318-
for name, p in pairs(store) do
319-
for i=#p,1,-1 do
320-
if p[i].from ~= "" and not items[p[i].from] then
321-
global.storage[player][name][i].from = ""
322-
global.storage[player][name][i].to = ""
323-
end
324-
if type(p[i].to) == "table" then
325-
for k, m in pairs(p[i].to) do
326-
if m and not items[m] then
327-
global.storage[player][name][i].to[k] = false
328-
end
329-
end
330-
end
331-
end
332-
end
333-
end
334-
335317
for i,player in pairs(game.players) do
336318
if player.valid and player.connected then
337319
if not global.guiVersion[player.name] then

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ModuleInserter",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"title": "Module Inserter",
55
"author": "Choumiko",
66
"homepage": "",

0 commit comments

Comments
 (0)