run multiple NATCommands

This commit is contained in:
2022-10-09 00:33:58 +00:00
parent 98cbd9e28e
commit 9c76eebe28
3 changed files with 18 additions and 6 deletions

View File

@@ -32,6 +32,5 @@
((hasComponent e NATCommand)
(controller.tryRunCommand (readComponent e NATCommand)) 0)
((hasComponent e NATCommands)
// TODO chain them together asynchronously (they may be partial)
0)
(controller.tryRunCommands (readComponent e NATCommands)) 0)
(true (ui.displayMessage "tried to invoke ${e.id} but it has no available actions"))) 0)