Skip to content

Commit 42aa105

Browse files
authored
Update main.lua
fixed basalt.getFrame(name)
1 parent a3886d3 commit 42aa105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Basalt/main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ basalt = {
554554

555555
getFrame = function(name)
556556
for _, value in pairs(frames) do
557-
if (value.name == name) then
557+
if (value:getName() == name) then
558558
return value
559559
end
560560
end

0 commit comments

Comments
 (0)