From 8724d23395890611e6ce2a70efb76ecb6c7f03cd Mon Sep 17 00:00:00 2001 From: orwell Date: Mon, 23 Jun 2025 23:30:17 +0200 Subject: Store line_state in train, fix button label in line editor --- advtrains_line_automation/line_editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'advtrains_line_automation/line_editor.lua') diff --git a/advtrains_line_automation/line_editor.lua b/advtrains_line_automation/line_editor.lua index fcba9dd..530eb6e 100644 --- a/advtrains_line_automation/line_editor.lua +++ b/advtrains_line_automation/line_editor.lua @@ -207,7 +207,7 @@ local function get_formspec(custom_state) end if has_rights_to_open_variant then table.insert(formspec, "button[10,15;4.5,0.75;save;".. - ifthenelse(custom_state.compiled_linevar == nil, S("Apply/Save").."]", S("Create/Save").."]")) + ifthenelse(custom_state.compiled_linevar == nil, S("Verify/Save").."]", S("Save changes").."]")) end table.insert(formspec, "button[15,15.25;4,0.5;reset;"..S("Reset changes").."]") table.insert(formspec, "tooltip[line;".. -- cgit v1.2.3