From fbc02957a26465e074401857935c5be01b4cc4cf Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 16 Aug 2013 17:36:56 +1200 Subject: [PATCH] Allow a local support dir inside the game root. Fixes #3673. --- OpenRA.FileFormats/Platform.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenRA.FileFormats/Platform.cs b/OpenRA.FileFormats/Platform.cs index b25559e86d..352f36ae7d 100644 --- a/OpenRA.FileFormats/Platform.cs +++ b/OpenRA.FileFormats/Platform.cs @@ -49,6 +49,10 @@ namespace OpenRA { get { + // Use a local directory in the game root if it exists + if (Directory.Exists("Support")) + return "Support" + Path.DirectorySeparatorChar; + var dir = Environment.GetFolderPath(Environment.SpecialFolder.Personal); switch (CurrentPlatform)