Fix code style

This commit is contained in:
Denis Tereshkin 2017-04-26 21:53:53 +07:00
parent 62d605d788
commit f72322ff14

View File

@ -65,7 +65,9 @@ function technic.register_base_machine(data)
"listring[current_name;upgrade2]"..
"listring[current_player;main]"
end
if tier ~= "LV" then
if tier == "LV" then
return formspec_string
end
formspec_string = formspec_string..
fs_helpers.cycling_button(
meta,
@ -76,7 +78,6 @@ function technic.register_base_machine(data)
pipeworks.button_on
}
)..pipeworks.button_label
end
return formspec_string
end