asserts
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
local File, Width = ...
|
local File, Width = ...
|
||||||
|
assert( File );
|
||||||
|
assert( Width );
|
||||||
|
|
||||||
local FullFile = THEME:GetPathB('','_frame files 3x1/'..File )
|
local FullFile = THEME:GetPathB('','_frame files 3x1/'..File )
|
||||||
local Frame = LoadActor( FullFile )
|
local Frame = LoadActor( FullFile )
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
local File, Width, Height = ...
|
local File, Width, Height = ...
|
||||||
|
assert( File );
|
||||||
|
assert( Width );
|
||||||
|
assert( Height );
|
||||||
|
|
||||||
local FullFile = THEME:GetPathB('','_frame files 3x3/'..File )
|
local FullFile = THEME:GetPathB('','_frame files 3x3/'..File )
|
||||||
local Frame = LoadActor( FullFile )
|
local Frame = LoadActor( FullFile )
|
||||||
return WrapInActorFrame {
|
return WrapInActorFrame {
|
||||||
|
|||||||
Reference in New Issue
Block a user