lol forgot to null check

This commit is contained in:
LadyAliceMargatroid 2024-08-19 03:20:59 -07:00
parent ee39083689
commit e2aba5fcdb
2 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ namespace DunGenPlus.Generation {
}
public static (TilePlacementResult result, TileProxy tile) ProcessDoorwayPairs(DungeonGenerator gen, DungeonArchetype archetype, Queue<DoorwayPair> doorwayPairs) {
if (Properties.UseBranchLoopBoost && gen.Status == GenerationStatus.Branching) {
if (Properties != null && Properties.UseBranchLoopBoost && gen.Status == GenerationStatus.Branching) {
return EncourageBranchPathLoopEncouragement(gen, doorwayPairs);
}

View File

@ -24,7 +24,7 @@ namespace DunGenPlus {
internal const string modGUID = "dev.ladyalice.dungenplus";
private const string modName = "Dungeon Generation Plus";
private const string modVersion = "1.0.5";
private const string modVersion = "1.0.6";
internal readonly Harmony Harmony = new Harmony(modGUID);