Skip to content

Commit

Permalink
fix(basecontent): Missing tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
badosu committed Jan 24, 2025
1 parent 999bc9f commit 5ad31c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cont/LuaUI/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function actionHandler:KeyAction(press, _, _, isRepeat, _, actions)
else
actionSet = self.keyReleaseActions
end
for _,action in ipairs(actions) do
for _, action in ipairs(actions) do
local cmd = action["command"]
local extra = action["extra"]
local args = splitBySpace(extra)
Expand Down
10 changes: 5 additions & 5 deletions cont/base/springcontent/LuaHandler/Utilities/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ local function KeyAction(press, _, _, isRepeat, _, actions)
else
actionSet = keyReleaseActions
end
for _,action in ipairs(actions) do
local cmd = action["command"]
local extra = action["extra"]
local args = splitBySpace(extra)
if (TryAction(actionSet, cmd, extra, args, isRepeat, not press, actions)) then
for _, action in ipairs(actions) do
local cmd = action["command"]
local extra = action["extra"]
local args = splitBySpace(extra)
if (TryAction(actionSet, cmd, extra, args, isRepeat, not press, actions)) then
return true
end
end
Expand Down

0 comments on commit 5ad31c3

Please sign in to comment.