Allow mechanisms to be linked, and allow storing links in schematics.

This commit is contained in:
Signal 2025-11-12 00:55:14 -05:00
parent 8f98a7fa2d
commit 8a8fa943c5
9 changed files with 438 additions and 104 deletions

View file

@ -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