Merge pull request #4528 from Mailaender/mime

Registered Linux MIME type to directly load replays
This commit is contained in:
Paul Chote
2015-02-12 11:21:37 +00:00
8 changed files with 35 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
using (new Support.PerfTimer("Load replays"))
{
replays = Directory
.GetFiles(dir, "*.rep")
.GetFiles(dir, "*.orarep")
.Select(ReplayMetadata.Read)
.Where(r => r != null)
.OrderByDescending(r => r.GameInfo.StartTimeUtc)