StyleCop cleanup
This commit is contained in:
@@ -89,7 +89,8 @@ namespace OpenRA.FileFormats
|
|||||||
public static void Mount(string name, string annotation)
|
public static void Mount(string name, string annotation)
|
||||||
{
|
{
|
||||||
var optional = name.StartsWith("~");
|
var optional = name.StartsWith("~");
|
||||||
if (optional) name = name.Substring(1);
|
if (optional)
|
||||||
|
name = name.Substring(1);
|
||||||
|
|
||||||
// paths starting with ^ are relative to the support dir
|
// paths starting with ^ are relative to the support dir
|
||||||
if (name.StartsWith("^"))
|
if (name.StartsWith("^"))
|
||||||
@@ -115,7 +116,7 @@ namespace OpenRA.FileFormats
|
|||||||
|
|
||||||
public static bool Unmount(IFolder mount)
|
public static bool Unmount(IFolder mount)
|
||||||
{
|
{
|
||||||
return (MountedFolders.RemoveAll(f => f == mount) > 0);
|
return MountedFolders.RemoveAll(f => f == mount) > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Mount(IFolder mount)
|
public static void Mount(IFolder mount)
|
||||||
|
|||||||
Reference in New Issue
Block a user