diff options
author | 2021-11-04 10:32:24 +1100 | |
---|---|---|
committer | 2021-11-04 10:32:24 +1100 | |
commit | 6e355f86c8e9f519c699824d0e09c19425bb14a9 (patch) | |
tree | 469cb4d2baf999f25027d50f65143fe7f2409d4c /plugins/autofire/init.lua | |
parent | dc33e0189637471a8c4bdec73210103c7ad68235 (diff) |
frontend: Don't let the non-menus get as far as trying to draw.
Diffstat (limited to 'plugins/autofire/init.lua')
-rw-r--r-- | plugins/autofire/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autofire/init.lua b/plugins/autofire/init.lua index ca81f3ad410..034d69833e9 100644 --- a/plugins/autofire/init.lua +++ b/plugins/autofire/init.lua @@ -44,7 +44,7 @@ function autofire.startplugin() for i, button in ipairs(buttons) do local key = button.port .. '\0' .. button.mask .. '.' .. button.type - local state = button_states[key] or { 0, button.button } + local state = button_states[key] or {0, button.button} state[1] = process_button(button) | state[1] button_states[key] = state end |