File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ struct MTRawEditorView: View {
64
64
. background ( . blue)
65
65
. cornerRadius ( 14 )
66
66
. foregroundColor ( . white)
67
- . sheet ( isPresented: $isCodeHelpPresented, content: { RawCodeHelpView ( ) } )
67
+ . sheet ( isPresented: $isCodeHelpPresented, content: { RawCodeHelpView ( ) } )
68
68
}
69
69
CodeTextEditor ( text: $fullFileContent) {
70
70
highlightCode ( )
@@ -208,7 +208,7 @@ struct MTRawEditorView: View {
208
208
if ( i == spdByLine. count - 1 ) && spdByLine [ i] == " " { break }
209
209
let spdEachPart = spdByLine [ i] . split ( separator: " | " ) . map { return String ( $0) }
210
210
if spdEachPart. count == 4 {
211
- if !allCharacterIds. contains ( spdEachPart [ 0 ] ) && spdEachPart [ 0 ] != " Sensei " && spdEachPart [ 0 ] != " System " && spdEachPart [ 0 ] != " SpecialEvent " {
211
+ if !allCharacterIds. contains ( spdEachPart [ 0 ] ) && spdEachPart [ 0 ] != " Sensei " && spdEachPart [ 0 ] != " System " && spdEachPart [ 0 ] != " SpecialEvent " && !spdEachPart [ 0 ] . contains ( " %^Split^@ " ) {
212
212
codeIssues. append ( . init( id: " MT003 " , desc: " 角色 ID 不存在 " , line: i + 1 ) )
213
213
}
214
214
if spdEachPart [ 3 ] != " false " && spdEachPart [ 3 ] != " true " {
You can’t perform that action at this time.
0 commit comments