Skip to content

Commit 8f146a1

Browse files
authored
Minor code tweaks to WarsOutputter (#1689) #patch
1 parent d7b6686 commit 8f146a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ImperatorToCK3/Outputter/WarsOutputter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace ImperatorToCK3.Outputter;
88

99
public static class WarsOutputter {
10-
public static void OutputWars(string outputModName, IList<War> wars) {
10+
public static void OutputWars(string outputModName, IEnumerable<War> wars) {
1111
Logger.Info("Writing wars...");
1212
// dumping all into one file
1313
var path = Path.Combine("output",outputModName, "history/wars/00_wars.txt");
@@ -27,8 +27,8 @@ private static void OutputWar(TextWriter output, War war) {
2727
if (war.CasusBelli is not null) {
2828
output.WriteLine($"\tcasus_belli = {war.CasusBelli}");
2929
}
30-
output.WriteLine($"\tattackers={{ {string.Join(" ", war.Attackers)} }}");
31-
output.WriteLine($"\tdefenders={{ {string.Join(" ", war.Defenders)} }}");
30+
output.WriteLine($"\tattackers={{ {string.Join(' ', war.Attackers)} }}");
31+
output.WriteLine($"\tdefenders={{ {string.Join(' ', war.Defenders)} }}");
3232
output.WriteLine($"\tclaimant = {war.Claimant}");
3333

3434
output.WriteLine("}");

0 commit comments

Comments
 (0)