Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ void ComboGraph::Load( RString sMetricsGroup )
|
||||
if( m_pComboNumber != NULL )
|
||||
this->AddChild( m_pComboNumber );
|
||||
else
|
||||
LOG->Warn( "ComboGraph: \"sMetricsGroup\" \"ComboNumber\" must be a BitmapText" );
|
||||
LuaHelpers::ReportScriptErrorFmt( "ComboGraph: \"sMetricsGroup\" \"ComboNumber\" must be a BitmapText" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user