Skip to content

Commit c5a89e3

Browse files
committed
fix
1 parent ef5a3a0 commit c5a89e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utility.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function Utility.switch(condition, cases, strict)
1919
local specifiedCase = nil
2020
for caseCondition in pairs(cases) do
2121
if caseCondition == condition then
22-
specifiedCase = caseCondition
22+
specifiedCase = cases[caseCondition]
2323
break
2424
end
2525
end

0 commit comments

Comments
 (0)