Skip to content

Commit 9ae160c

Browse files
committed
Fix bug with windows
1 parent 27115b8 commit 9ae160c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/funkin/menus/VisualNovel.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class VisualNovel extends MusicBeatState {
3333
text.skip();
3434
return;
3535
}
36-
36+
3737
if(currentEntry.next != null) {
3838
currentEntryId = redirectMap[currentEntry.next];
3939
} else {
@@ -113,7 +113,7 @@ class VisualNovel extends MusicBeatState {
113113

114114
var _entry:Xml = cast entry;
115115

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

118118
var choices = [];
119119

0 commit comments

Comments
 (0)