Skip to content

Commit 8903611

Browse files
authored
Fix compiler warning about possible null reference (#2714) #patch
1 parent 70e5ec1 commit 8903611

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

ImperatorToCK3/CK3/Characters/CharactersLoader.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using commonItems.Mods;
33
using Open.Collections.Synchronized;
44
using System.Collections.Frozen;
5-
using System.Collections.Generic;
65
using ZLinq;
76

87
namespace ImperatorToCK3.CK3.Characters;

ImperatorToCK3/CK3/Cultures/PillarCollection.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using commonItems.Mods;
55
using ImperatorToCK3.CommonUtils;
66
using System;
7-
using System.Collections.Frozen;
87
using System.Collections.Generic;
98
using ZLinq;
109

ImperatorToCK3/CK3/World.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using ImperatorToCK3.CK3.Armies;
66
using ImperatorToCK3.CK3.Characters;
77
using ImperatorToCK3.CK3.Cultures;
8-
using ImperatorToCK3.CK3.Diplomacy;
98
using ImperatorToCK3.CK3.Dynasties;
109
using ImperatorToCK3.CK3.Legends;
1110
using ImperatorToCK3.CK3.Provinces;
@@ -69,7 +68,7 @@ internal sealed class World {
6968
/// <summary>
7069
/// Date based on I:R save date, but normalized for CK3 purposes.
7170
/// </summary>
72-
public Date CorrectedDate { get; private set; }
71+
public Date CorrectedDate { get; private set; } = new Date(2, 1, 1); // overwritten by DetermineCK3BookmarkDate
7372

7473
public World(Imperator.World impWorld, Configuration config, Thread? irCoaExtractThread) {
7574
Logger.Info("*** Hello CK3, let's get painting. ***");

0 commit comments

Comments
 (0)