Skip to content

Commit 06d9845

Browse files
committed
Fix module table row data not being cleared
Fixes: #411
1 parent d654005 commit 06d9845

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exp_scenario/module/gui/module_inserter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ end
178178
function Elements.module_table.remove_row(module_table, machine_selector)
179179
local rows = Elements.module_table.data[module_table]
180180
local row = rows[machine_selector.index]
181-
row[machine_selector.index] = nil
181+
rows[machine_selector.index] = nil
182182
Gui.destroy_if_valid(machine_selector)
183183
for _, separator in pairs(row.row_separators) do
184184
Gui.destroy_if_valid(separator)

0 commit comments

Comments
 (0)