Skip to content

Commit

Permalink
Add braces (#391) #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains authored Nov 14, 2021
1 parent 14ed78a commit 732cde9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ImperatorToCK3/Mappers/Culture/CultureMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ string ck3OwnerTitle
) {
foreach (var cultureMappingRule in cultureMappingRules) {
var possibleMatch = cultureMappingRule.NonReligiousMatch(impCulture, ck3Religion, ck3ProvinceId, impProvinceId, ck3OwnerTitle);
if (possibleMatch is not null)
return possibleMatch;
if (possibleMatch is not null) {
return possibleMatch;
}
}
return null;
}
Expand Down

0 comments on commit 732cde9

Please sign in to comment.