mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2024-12-29 17:07:35 +01:00
fix luactontroller tool, untested
This commit is contained in:
parent
c142664c26
commit
8f303f1b2a
@ -171,7 +171,7 @@ minetest.register_tool("moremesecons_luacontroller_tool:lctt", {
|
||||
pdata[pname] = pdata[pname] or {
|
||||
pos = pos,
|
||||
player_name = pname,
|
||||
template_name = next(templates[pname]),
|
||||
template_name = next(templates[pname] or templates[next(templates)]),
|
||||
}
|
||||
minetest.show_formspec(pname, "moremesecons:luacontroller_tool", get_selection_formspec(pdata[pname].player_name, pdata[pname].template_name))
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user