much simpler component handling in NAT

This commit is contained in:
2021-09-27 22:44:52 -06:00
parent 8cf5fe8a5a
commit 8e7b77ca8a
3 changed files with 11 additions and 36 deletions

View File

@@ -184,7 +184,7 @@
(defCommand PrintComponent [entries (SelectedEntries null null)
componentType (Text null)]
(doFor e entries (ui.displayMessage (Std.string (archive.componentData e componentType)))) [])
(doFor e entries (ui.displayMessage (dictGet e.components componentType))) [])
(defCommand CreateEntry [name (Text null)]
[(archive.createEntry ->e