Correct the Tile attachTo variable's stloc index in GenerateMainPath
This was reading from the wrong index and always passing null, so the doorway groups were never taking effect at all for the first main path.
This commit is contained in:
parent
aabe3a723b
commit
8a35d8cb54
3 changed files with 2 additions and 2 deletions
Binary file not shown.
|
|
@ -81,7 +81,7 @@ namespace DunGenPlus.Patches {
|
|||
archSequence.AddBasic(OpCodes.Callvirt, setNodeFunction);
|
||||
|
||||
var attachToSequence = new InstructionSequenceStandard("attach to");
|
||||
attachToSequence.AddBasicLocal(OpCodes.Stloc_S, 13);
|
||||
attachToSequence.AddBasicLocal(OpCodes.Stloc_S, 14);
|
||||
|
||||
foreach(var instruction in instructions){
|
||||
if (archSequence.VerifyStage(instruction)){
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace DunGenPlus {
|
|||
|
||||
internal const string modGUID = "dev.ladyalice.dungenplus";
|
||||
private const string modName = "Dungeon Generation Plus";
|
||||
private const string modVersion = "1.5.0";
|
||||
private const string modVersion = "1.5.1";
|
||||
|
||||
internal readonly Harmony Harmony = new Harmony(modGUID);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue