Fix credits

This commit is contained in:
Noah Pilarski 2022-09-03 23:00:00 -04:00 committed by JohnCorby
parent 073892c008
commit a31c62ba37

View File

@ -39,7 +39,7 @@ namespace NewHorizons.Handlers
private static void AddCreditsSection(string sectionName, string[] entries, ref XmlDocument xml) private static void AddCreditsSection(string sectionName, string[] entries, ref XmlDocument xml)
{ {
var finalCredits = xml.SelectSingleNode("Credits/section"); var finalCredits = xml.SelectSingleNode("Credits/section[@name='CreditsFinal']");
/* /*
* Looks bad, would need more customization, complicated, messes up music timing, wont do for now * Looks bad, would need more customization, complicated, messes up music timing, wont do for now
@ -134,11 +134,8 @@ namespace NewHorizons.Handlers
{ {
var rootSection = MakeNode(doc, "section", new Dictionary<string, string>() var rootSection = MakeNode(doc, "section", new Dictionary<string, string>()
{ {
{ "platform", "All" }, { "name", "Custom" },
{ "type", "Scroll" }, { "credits-type", "Final Fast Krazy" }
{ "scrollDuration", "214" },
{ "spacing", "12" },
{ "width", "1590" }
}); });
var titleLayout = MakeNode(doc, "layout", new Dictionary<string, string>() var titleLayout = MakeNode(doc, "layout", new Dictionary<string, string>()