File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export class PatchFile {
150150 author : e . getAttribute ( "Author" ) ?? "UNK" ,
151151 version : e . getAttribute ( "PatchVer" ) ?? "UNK" ,
152152 gameVersion : e . getAttribute ( "AppVer" ) ?? "UNK" ,
153- isEnabled : e . getAttribute ( "Enabled " ) === "true" ,
153+ isEnabled : e . getAttribute ( "isEnabled " ) === "true" ,
154154 } ) ) ;
155155 }
156156
@@ -159,10 +159,10 @@ export class PatchFile {
159159 enabled : boolean ,
160160 ) : PatchLine | null {
161161 const el = patchLine . el ;
162- if ( el . getAttribute ( "Enabled " ) === String ( enabled ) ) {
162+ if ( el . getAttribute ( "isEnabled " ) === String ( enabled ) ) {
163163 return null ;
164164 }
165- el . setAttribute ( "Enabled " , String ( enabled ) ) ;
165+ el . setAttribute ( "isEnabled " , String ( enabled ) ) ;
166166 this . modified = true ;
167167 return {
168168 ...patchLine ,
You can’t perform that action at this time.
0 commit comments