1 Commits

Author SHA1 Message Date
Ciro García Belmonte
00d4e6aee2 fix: use getter instead of accessing attribute
`name` is not an exported attribute of the Object table, so this always returned nil, failing all comparisons.
2024-11-05 04:18:33 +01:00

View File

@@ -523,7 +523,7 @@ basalt = {
getFrame = function(name)
for _, value in pairs(frames) do
if (value.name == name) then
if (value.getName() == name) then
return value
end
end
@@ -600,4 +600,4 @@ if(basaltPlugins~=nil)then
end
end
return basalt
return basalt