@@ -174,8 +174,9 @@ private void ImportVanillaProvinces(string ck3Path, Date ck3BookmarkDate) {
174174 var path = Path . Combine ( ck3Path , "game/history/provinces" ) ;
175175 var fileNames = SystemUtils . GetAllFilesInFolderRecursive ( path ) ;
176176 foreach ( var fileName in fileNames ) {
177- if ( ! fileName . EndsWith ( ".txt" ) )
177+ if ( ! fileName . EndsWith ( ".txt" ) ) {
178178 continue ;
179+ }
179180 var provincesPath = Path . Combine ( ck3Path , "game/history/provinces" , fileName ) ;
180181 try {
181182 var newProvinces = new Provinces . Provinces ( provincesPath , ck3BookmarkDate ) ;
@@ -300,8 +301,9 @@ Imperator.World impWorld
300301 private void AddHistoryToVanillaTitles ( ) {
301302 foreach ( var ( name , title ) in LandedTitles ) {
302303 var historyOpt = titlesHistory . PopTitleHistory ( name ) ;
303- if ( historyOpt is not null )
304+ if ( historyOpt is not null ) {
304305 title . AddHistory ( landedTitles , historyOpt ) ;
306+ }
305307 }
306308 // add vanilla development to counties
307309 // for counties that inherit development level from de jure lieges, assign it to them directly for better reliability
@@ -442,8 +444,9 @@ private void ImportImperatorFamilies(Imperator.World impWorld) {
442444
443445 // dynasties only holds dynasties converted from Imperator families, as vanilla ones aren't modified
444446 foreach ( var family in impWorld . Families . StoredFamilies . Values ) {
445- if ( family . Minor )
447+ if ( family . Minor ) {
446448 continue ;
449+ }
447450
448451 var newDynasty = new Dynasty ( family , localizationMapper ) ;
449452 Dynasties . Add ( newDynasty . ID , newDynasty ) ;
0 commit comments