diff options
Diffstat (limited to 'plugins/autofire/autofire_save.lua')
-rw-r--r-- | plugins/autofire/autofire_save.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autofire/autofire_save.lua b/plugins/autofire/autofire_save.lua index 2f353417e3e..067368dd2b2 100644 --- a/plugins/autofire/autofire_save.lua +++ b/plugins/autofire/autofire_save.lua @@ -13,7 +13,7 @@ local function initialize_button(settings) local new_button = { port = settings.port, field = settings.field, - key = manager:machine():input():code_from_token(settings.key), + key = manager:machine():input():seq_from_tokens(settings.key), on_frames = settings.on_frames, off_frames = settings.off_frames, counter = 0 @@ -36,7 +36,7 @@ local function serialize_settings(button_list) setting = { port = button.port, field = button.field, - key = manager:machine():input():code_to_token(button.key), + key = manager:machine():input():seq_to_tokens(button.key), on_frames = button.on_frames, off_frames = button.off_frames } |