Skip to content

Commit 774ed54

Browse files
author
ILLISIS
committed
fix: Fixed the inability to select different repair tools in the settings UI.
1 parent 0795212 commit 774ed54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/ui_settings_screen.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function gui_settings.buildSettingsContent(player, surface, frame)
385385
-- style = "",
386386
elem_type = "item-with-quality",
387387
["item-with-quality"] = storage.repair_tool_name[surface_index],
388-
elem_filters = {{filter = "name", name = "repair-pack"}},
388+
elem_filters = {{filter = "type", type = "repair-tool"}},
389389
tags = {
390390
mod = "constructron",
391391
on_gui_elem_changed = "selected_new_repair_tool",

0 commit comments

Comments
 (0)