special case no longer needed

This commit is contained in:
Glenn Maynard
2006-10-11 01:29:15 +00:00
parent a55e52e0d8
commit 00d1fc742c
-2
View File
@@ -951,13 +951,11 @@ void ThemeManager::PushMetric( Lua *L, const RString &sClassName, const RString
RString sValue = GetMetricRaw( g_pLoadedThemeData->iniMetrics, sClassName, sValueName );
RString sName = ssprintf( "%s::%s", sClassName.c_str(), sValueName.c_str() );
#if !defined(SMPACKAGE)
if( EndsWith(sValueName, "Command") )
{
LuaHelpers::ParseCommandList( L, sValue, sName );
}
else
#endif
{
LuaHelpers::PrepareExpression( sValue );
LuaHelpers::RunExpression( L, sValue, sName );