Skip to content

Commit

Permalink
Fix bug with windows
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeEoo committed Apr 1, 2024
1 parent 27115b8 commit 9ae160c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/menus/VisualNovel.hx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class VisualNovel extends MusicBeatState {
text.skip();
return;
}

if(currentEntry.next != null) {
currentEntryId = redirectMap[currentEntry.next];
} else {
Expand Down Expand Up @@ -113,7 +113,7 @@ class VisualNovel extends MusicBeatState {

var _entry:Xml = cast entry;

e.text = _entry.firstChild().nodeValue.trim();
e.text = _entry.firstChild().nodeValue.trim().replace("\r\n", "\n");

var choices = [];

Expand Down

0 comments on commit 9ae160c

Please sign in to comment.