RunAtExpressionS
This commit is contained in:
@@ -98,6 +98,7 @@ void BitmapText::LoadFromNode( const CString& sDir, const XNode* pNode )
|
|||||||
pNode->GetAttrValue( "Font", sFont );
|
pNode->GetAttrValue( "Font", sFont );
|
||||||
if( sFont.empty() )
|
if( sFont.empty() )
|
||||||
pNode->GetAttrValue("File", sFont ); // accept "File" for backward compatibility
|
pNode->GetAttrValue("File", sFont ); // accept "File" for backward compatibility
|
||||||
|
LuaHelpers::RunAtExpressionS( sFont );
|
||||||
|
|
||||||
if( sFont == "" )
|
if( sFont == "" )
|
||||||
RageException::Throw( "An object '%s' in '%s' is missing the Font attribute",
|
RageException::Throw( "An object '%s' in '%s' is missing the Font attribute",
|
||||||
|
|||||||
Reference in New Issue
Block a user