Allow mechanisms to be linked, and allow storing links in schematics.
This commit is contained in:
parent
8f98a7fa2d
commit
8a8fa943c5
9 changed files with 438 additions and 104 deletions
|
|
@ -38,7 +38,7 @@ end
|
|||
|
||||
function ns.dismiss_radial_menu(m, name)
|
||||
-- This is in case we only want to close a specific menu while leaving others intact.
|
||||
if name and m._menu.name ~= name then return end
|
||||
if name and (not m._menu or m._menu.name ~= name) then return end
|
||||
for _, x in ipairs(m._menu) do
|
||||
x:remove(m)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue