Skip to content

Commit

Permalink
Revert "Add back Narikiri Dungeon nodes (#78)"
Browse files Browse the repository at this point in the history
This reverts commit 08b585f.
  • Loading branch information
Mc-muffin authored Aug 23, 2024
1 parent 08b585f commit 992aec4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions TranslationLib/XMLFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,6 @@ private static XElement GetXMLEntryElement(XMLEntry entry)
var speakerId = entry.SpeakerId == null ? null : new XElement("SpeakerId", string.Join(",",entry.SpeakerId));
var voiceId = entry.VoiceId == null ? null : new XElement("VoiceId", entry.VoiceId);
var maxLength = entry.MaxLength == null ? null : new XElement("MaxLength", entry.MaxLength);
var structId = entry.StructId == null ? null : new XElement("StructId", entry.StructId);
var unknownPointer = entry.UnknownPointer == null ? null : new XElement("UnknownPointer", entry.UnknownPointer);

XElement embedOffset;

if (entry.EmbedOffset)
Expand All @@ -273,13 +270,12 @@ private static XElement GetXMLEntryElement(XMLEntry entry)
new XElement("JapaneseText", entry.JapaneseText),
new XElement("EnglishText", entry.EnglishText),
new XElement("Notes", string.IsNullOrEmpty(entry.Notes) ? null : entry.Notes),
elemenId,
structId,
speakerId,
unknownPointer,
elemenId,
bubbleId,
subId,
new XElement("Status", entry.Status)

);
}

Expand Down
1 change: 0 additions & 1 deletion TranslationLib/XMLFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ private XMLEntry ExtractXMLEntry(XElement element)
SpeakerId = ExtractNullableIntArray(element.Element("SpeakerId")),
BubbleId = ExtractNullableInt(element.Element("BubbleId")),
SubId = ExtractNullableInt(element.Element("SubId")),
StructId = ExtractNullableInt(element.Element("StructId")),
UnknownPointer = ExtractNullableInt(element.Element("UnknownPointer")),
MaxLength = ExtractNullableInt(element.Element("MaxLength"))
};
Expand Down

0 comments on commit 992aec4

Please sign in to comment.