Correct the Tile attachTo variable's stloc index in GenerateMainPath #2
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);
|
archSequence.AddBasic(OpCodes.Callvirt, setNodeFunction);
|
||||||
|
|
||||||
var attachToSequence = new InstructionSequenceStandard("attach to");
|
var attachToSequence = new InstructionSequenceStandard("attach to");
|
||||||
attachToSequence.AddBasicLocal(OpCodes.Stloc_S, 13);
|
attachToSequence.AddBasicLocal(OpCodes.Stloc_S, 14);
|
||||||
|
|
||||||
foreach(var instruction in instructions){
|
foreach(var instruction in instructions){
|
||||||
if (archSequence.VerifyStage(instruction)){
|
if (archSequence.VerifyStage(instruction)){
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,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.5.0";
|
private const string modVersion = "1.5.1";
|
||||||
|
|
||||||
internal readonly Harmony Harmony = new Harmony(modGUID);
|
internal readonly Harmony Harmony = new Harmony(modGUID);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue