Skip to content

Commit

Permalink
修复读取lss文件后,结尾片段的头像错误 ( fix #36 )
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed May 28, 2022
1 parent bfbefda commit fa42ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splitsfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ func loadSplitFile(buf []byte) {
text := "空洞骑士"
seg := run.Segments.Segment[i]
name := seg.Name
if strings.Contains(name, "无上辐光") || strings.Contains(name, "Absolute Radiance") {
if strings.Contains(name, "无上辐光") || strings.Contains(name, "Absolute Radiance") || strings.Contains(name, "拥抱虚空") || strings.Contains(name, "Embrace the Void") {
text = "无上辐光"
} else if strings.Contains(name, "辐光") || strings.Contains(name, "Radiance") || strings.Contains(name, "radiance") {
} else if strings.Contains(name, "辐光") || strings.Contains(name, "Radiance") || strings.Contains(name, "radiance") || strings.Contains(name, "不再有梦") || strings.Contains(name, "Dream No More") || strings.Contains(name, "No More Dream") {
text = "辐光"
}
err := finalLine.splitId2.SetText(text)
Expand Down

0 comments on commit fa42ebf

Please sign in to comment.