mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 16:14:53 +09:00
Fix lint errors on new luals version (#384)
This commit is contained in:
1 parent
3dbdb2071f
commit
aedc3cff6b
7 files changed
+11
-8
No files matched your search
@@ -216,9 +216,10 @@ end
|
||||
--- @param actions_names string[] An array of action names
|
||||
--- @return defines.input_action[]
|
||||
local function names_to_actions(actions_names)
|
||||
--- @type defines.input_action[], number[], number
|
||||
local actions, invalid, invalid_i = {}, {}, 1
|
||||
for i, action_name in ipairs(actions_names) do
|
||||
local action = defines.input_action[action_name]
|
||||
local action = defines.input_action[action_name] --[[ @as defines.input_action? ]]
|
||||
if action then
|
||||
actions[i] = action
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user