diff --git a/OpenRA.FileFormats/Platform.cs b/OpenRA.FileFormats/Platform.cs index f07398c460..b25559e86d 100644 --- a/OpenRA.FileFormats/Platform.cs +++ b/OpenRA.FileFormats/Platform.cs @@ -21,7 +21,7 @@ namespace OpenRA { public static PlatformType CurrentPlatform { get { return currentPlatform.Value; } } - static Lazy currentPlatform = Lazy.New(GetCurrentPlatform); + static Lazy currentPlatform = Lazy.New((Func)GetCurrentPlatform); static PlatformType GetCurrentPlatform() {