File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
src/papyrus-lang-vscode/src Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,20 @@ export class CreationKitInfoProvider {
115
115
) ;
116
116
117
117
const mergedIni = parsedInis . pipe (
118
- map ( ( iniObjects ) => deepMergeAll ( [ getDefaultConfigForGame ( game ) , ...iniObjects ] ) as ICreationKitConfig )
118
+ map ( ( iniObjects ) => {
119
+ for ( const iniObject of iniObjects ) {
120
+ const papyrusSection = iniObject . Papyrus ;
121
+ if ( papyrusSection ) {
122
+ for ( const key of Object . keys ( papyrusSection ) ) {
123
+ if ( typeof papyrusSection [ key ] === 'string' ) {
124
+ papyrusSection [ key ] = papyrusSection [ key ] . replace ( / " / g, '' ) ;
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ return deepMergeAll ( [ getDefaultConfigForGame ( game ) , ...iniObjects ] ) as ICreationKitConfig ;
131
+ } )
119
132
) ;
120
133
121
134
return combineLatest ( resolvedInstallPath , mergedIni ) . pipe (
You can’t perform that action at this time.
0 commit comments