This commit is contained in:
Chris Forbes
2010-03-16 19:51:52 +13:00
parent b504fb53e6
commit 7af5ef2a65

View File

@@ -34,9 +34,8 @@ namespace OpenRA
}
static Widget NewWidget( string widgetType )
{
if( widgetType.Contains( "@" ) )
widgetType = widgetType.Substring( 0, widgetType.IndexOf( "@" ) );
{
widgetType = widgetType.Split('@')[0];
foreach (var mod in Game.ModAssemblies)
{