Make ChromeMetrics accessible from mod dlls.

This commit is contained in:
Paul Chote
2013-06-29 12:58:34 +12:00
parent fe6c6a3017
commit fd660c7fa0

View File

@@ -15,7 +15,7 @@ using OpenRA.FileFormats;
namespace OpenRA.Widgets namespace OpenRA.Widgets
{ {
static class ChromeMetrics public static class ChromeMetrics
{ {
static Dictionary<string, string> data = new Dictionary<string, string>(); static Dictionary<string, string> data = new Dictionary<string, string>();
@@ -32,7 +32,7 @@ namespace OpenRA.Widgets
public static T Get<T>(string key) public static T Get<T>(string key)
{ {
return FieldLoader.GetValue<T>( key, data[key] ); return FieldLoader.GetValue<T>(key, data[key]);
} }
} }
} }