mirror of
https://github.com/minetest-mods/technic.git
synced 2025-03-20 11:20:31 +01:00
Fix code style
This commit is contained in:
parent
62d605d788
commit
f72322ff14
@ -65,18 +65,19 @@ function technic.register_base_machine(data)
|
|||||||
"listring[current_name;upgrade2]"..
|
"listring[current_name;upgrade2]"..
|
||||||
"listring[current_player;main]"
|
"listring[current_player;main]"
|
||||||
end
|
end
|
||||||
if tier ~= "LV" then
|
if tier == "LV" then
|
||||||
formspec_string = formspec_string..
|
return formspec_string
|
||||||
fs_helpers.cycling_button(
|
|
||||||
meta,
|
|
||||||
pipeworks.button_base,
|
|
||||||
"splitstacks",
|
|
||||||
{
|
|
||||||
pipeworks.button_off,
|
|
||||||
pipeworks.button_on
|
|
||||||
}
|
|
||||||
)..pipeworks.button_label
|
|
||||||
end
|
end
|
||||||
|
formspec_string = formspec_string..
|
||||||
|
fs_helpers.cycling_button(
|
||||||
|
meta,
|
||||||
|
pipeworks.button_base,
|
||||||
|
"splitstacks",
|
||||||
|
{
|
||||||
|
pipeworks.button_off,
|
||||||
|
pipeworks.button_on
|
||||||
|
}
|
||||||
|
)..pipeworks.button_label
|
||||||
return formspec_string
|
return formspec_string
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user