error check
This commit is contained in:
@@ -37,6 +37,8 @@ local function func()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local sButtonToLoad, sElementToLoad = ret.Redir(sButton, sElement);
|
local sButtonToLoad, sElementToLoad = ret.Redir(sButton, sElement);
|
||||||
|
assert( sButtonToLoad );
|
||||||
|
assert( sElementToLoad );
|
||||||
|
|
||||||
local sPath = NOTESKIN:GetPath( sButtonToLoad, sElementToLoad );
|
local sPath = NOTESKIN:GetPath( sButtonToLoad, sElementToLoad );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user