oops. that crashed when there were no mods

This commit is contained in:
Chris Forbes
2009-12-19 09:31:17 +13:00
parent f9b4782a99
commit cbfd70b924

View File

@@ -25,7 +25,7 @@ namespace OpenRa.Game
public static float Product(this IEnumerable<float> xs)
{
return xs.Aggregate((a, x) => a * x);
return xs.Aggregate(1f, (a, x) => a * x);
}
}
}