lol forgot to null check
This commit is contained in:
parent
ee39083689
commit
e2aba5fcdb
|
@ -324,7 +324,7 @@ namespace DunGenPlus.Generation {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static (TilePlacementResult result, TileProxy tile) ProcessDoorwayPairs(DungeonGenerator gen, DungeonArchetype archetype, Queue<DoorwayPair> doorwayPairs) {
|
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);
|
return EncourageBranchPathLoopEncouragement(gen, doorwayPairs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace DunGenPlus {
|
||||||
|
|
||||||
internal const string modGUID = "dev.ladyalice.dungenplus";
|
internal const string modGUID = "dev.ladyalice.dungenplus";
|
||||||
private const string modName = "Dungeon Generation Plus";
|
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);
|
internal readonly Harmony Harmony = new Harmony(modGUID);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue