hack hack

This commit is contained in:
Chris Forbes
2010-06-13 00:04:14 +12:00
parent 7c34252cff
commit 3c95a2886c
2 changed files with 3 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ namespace OpenRA
request.Method = "POST";
request.Headers.Add("Game-ID", gameId.ToString());
request.Headers.Add("Channel", kvp.Key);
request.Headers.Add("Diff", kvp.Value.Diff ? "1" : "0");
// request.Headers.Add("Diff", kvp.Value.Diff ? "1" : "0");
using (var requestStream = request.GetRequestStream())
requestStream.Write(buffer, 0, buffer.Length);

View File

@@ -22,9 +22,7 @@ using System;
using System.Diagnostics;
using System.Globalization;
using System.Windows.Forms;
using System.Net;
using System.IO.Compression;
using System.IO;
using System.Linq;
namespace OpenRA
{
@@ -37,7 +35,7 @@ namespace OpenRA
Application.CurrentCulture = CultureInfo.InvariantCulture;
Log.AddChannel("perf", "openra.perf.txt", false, false);
if (Debugger.IsAttached)
if (Debugger.IsAttached || args.Contains("--just-die"))
{
Run(args);
return;