Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Fix dialogue converter
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutovKS committed Jan 4, 2024
1 parent 27aefa2 commit 362c08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dialogue Converter/Dialogue Converter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ IPhrase[] ParseBranchingDialogues(int id, string character, string content, Char
{
ScrapingTools.TryGetBackground(ref content, out var background);
ScrapingTools.TryGetSoundEffect(ref content, out var soundEffect);
var ID = ScrapingTools.GetId(id);
charactersAvatars.TryGetCharacterAvatarPath(character, out var characterAvatarPath);
charactersNames.TryGetCharacterName(character, out var characterName);

Expand All @@ -156,8 +155,9 @@ IPhrase[] ParseBranchingDialogues(int id, string character, string content, Char

for (var i = 0; i < dialogueParts.Length; i++)
{
var part = dialogueParts[i];
var ID = ScrapingTools.GetId(id);
var IDNext = ScrapingTools.GetId(id + 1);
var part = dialogueParts[i];

if (part[0] == '[')
{
Expand Down

0 comments on commit 362c08e

Please sign in to comment.