Permalink
Browse files

Fix indentation

  • Loading branch information...
1 parent b7fa757 commit f4781935f6dd3395ad6a0835ce02140b8c552ed0 @Bengrs Bengrs committed Dec 19, 2016
@@ -25,7 +25,7 @@ public static class Program
public static void Main(string[] args)
{
- if (InitWithArguments(args))
+ if (InitWithArguments(args))
(new GameStartProxy()).Start(UseDX);
}
@@ -40,12 +40,12 @@ public static bool InitWithArguments(string[] args)
ILocator gameLocator;
bool linux = pid == PlatformID.MacOSX || pid == PlatformID.Unix;
- if (linux && Directory.Exists("/Users"))
+ if (linux && Directory.Exists("/Users"))
gameLocator = new MacOSLocator();
- else if (linux)
- gameLocator = new LinuxLocator();
+ else if (linux)
+ gameLocator = new LinuxLocator();
else
- gameLocator = new WindowsLocator();
+ gameLocator = new WindowsLocator();
bool useDX = false;
@@ -117,13 +117,13 @@ protected override void Initialize()
}
}
- /// <summary>
- /// Run this instance with GameRunBehavior forced as Synchronous.
- /// </summary>
- public new void Run()
- {
- Run(GameRunBehavior.Synchronous);
- }
+ /// <summary>
+ /// Run this instance with GameRunBehavior forced as Synchronous.
+ /// </summary>
+ public new void Run()
+ {
+ Run(GameRunBehavior.Synchronous);
+ }
/// <summary>
/// Only used on desktop targets. Use extensive reflection to AVOID linking on iOS!
@@ -6,7 +6,7 @@ public class MacOSLocator : ILocator
{
public string FindTheSimsOnline()
{
- return string.Format("{0}/Documents/The Sims Online/TSOClient/", Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
+ return string.Format("{0}/Documents/The Sims Online/TSOClient/", Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
}
}
}
@@ -39,15 +39,15 @@ public static bool Link(bool preferDX11)
monogameDir = "Monogame/Windows/";
}
}
- //Check if MacOS by checkking user directory. Because PlatformID.MacOSX is not true on OS X.
- else if (Directory.Exists("/Users"))
+ //Check if MacOS by checkking user directory. Because PlatformID.MacOSX is not true on OS X.
+ else if (Directory.Exists("/Users"))
{
monogameDir = "Monogame/MacOS/";
}
- else
- {
- monogameDir = "Monogame/Linux/";
- }
+ else
+ {
+ monogameDir = "Monogame/Linux/";
+ }
//DirectoryCopy(contentDir, "Content/", true);
if (File.Exists("Monogame.Framework.dll")) File.Delete("Monogame.Framework.dll");

0 comments on commit f478193

Please sign in to comment.