Correct the Tile attachTo variable's stloc index in GenerateMainPath #2

3 changed files with 2 additions and 2 deletions

View file

@ -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)){

View file

@ -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);