From 5f224479a944cd0cc0c0c1db1eb3184f41ef879a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 14 Apr 2016 16:29:35 -0700 Subject: [PATCH] Comment out header addition I'm temporarily removing this because the outputted dats are expected to behave like the old ones. This means that each of the systems will have headered AND unheadered variants. WIth the skips, then only the unheadered variant is going to be detected properly. In the mean time, this is being removed so that sets can be properly created for sharing. --- DATabase/Generate.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DATabase/Generate.cs b/DATabase/Generate.cs index 30b56331..9426d503 100644 --- a/DATabase/Generate.cs +++ b/DATabase/Generate.cs @@ -200,7 +200,7 @@ namespace SabreTools "\tname \"" + HttpUtility.HtmlEncode(intname) + "\"\n" + "\tdescription \"" + HttpUtility.HtmlEncode(datname) + "\"\n" + "\tversion \"" + version + "\"\n" + - (_systems != "" && _systems.Split(',').Length == 1 && _headers.ContainsKey(Int32.Parse(_systems)) ? " header \"" + _headers[Int32.Parse(_systems)] + "\"\n" : "") + + //(_systems != "" && _systems.Split(',').Length == 1 && _headers.ContainsKey(Int32.Parse(_systems)) ? " header \"" + _headers[Int32.Parse(_systems)] + "\"\n" : "") + "\tcomment \"\"\n" + "\tauthor \"The Wizard of DATz\"\n" + ")\n"; @@ -216,7 +216,7 @@ namespace SabreTools "\t\t\t" + version + "\n" + "\t\t\tThe Wizard of DATz\n" + "\t\t\t\n" + + //(_systems != "" && _systems.Split(',').Length == 1 && _headers.ContainsKey(Int32.Parse(_systems)) ? " header=\"" + _headers[Int32.Parse(_systems)] + "\"\n" : "") + "/>\n" + "\t\t\n"; // Unset _system again if we're in MEGAMERGED mode