aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/Program.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-05-25 12:58:55 -0400
committerlempamo <[email protected]>2017-05-25 12:58:55 -0400
commit79808fce9199840ad4627ee1aecb8f7430ab6b6c (patch)
tree0516b25608da702e1ff37148dd70b61f13ba42f2 /TimeHACK.Main/Program.cs
parent6b6678c7667afd035ed959e2ddd56bc506d878c9 (diff)
downloadhistacom2-79808fce9199840ad4627ee1aecb8f7430ab6b6c.tar.gz
histacom2-79808fce9199840ad4627ee1aecb8f7430ab6b6c.tar.bz2
histacom2-79808fce9199840ad4627ee1aecb8f7430ab6b6c.zip
add arg so th can work on wine without crashing (hopefully)
Diffstat (limited to 'TimeHACK.Main/Program.cs')
-rw-r--r--TimeHACK.Main/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs
index 1b89e53..b13faed 100644
--- a/TimeHACK.Main/Program.cs
+++ b/TimeHACK.Main/Program.cs
@@ -27,9 +27,9 @@ namespace TimeHACK
/// Run TitleScreen.cs at launch.
/// </summary>
[STAThread]
- static void Main()
+ static void Main(string[] args)
{
- System.Diagnostics.Debugger.Launch();
+ if (args.Contains("-nd")) System.Diagnostics.Debugger.Launch();
if (nightly == true)
{
try