Use getter instead of accessing attribute in basalt.getFrame
#123
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user