From e2c0f9da5833d189cdcda37562ee37aeaf295835 Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 11 Dec 2020 20:24:37 -0600 Subject: [PATCH] Dungeon fix oversight patch --- ILEditing/ILChanges.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILEditing/ILChanges.cs b/ILEditing/ILChanges.cs index 1f45e81914..a361f46e9d 100644 --- a/ILEditing/ILChanges.cs +++ b/ILEditing/ILChanges.cs @@ -101,7 +101,7 @@ namespace CalamityMod.ILEditing cursor.Emit(OpCodes.Ldloc, 6); cursor.EmitDelegate>(unclampedValue => { - unclampedValue.X = MathHelper.Clamp(unclampedValue.X, SulphurousSea.BiomeWidth + 25, Main.maxTilesX - SulphurousSea.BiomeWidth); + unclampedValue.X = MathHelper.Clamp(unclampedValue.X, SulphurousSea.BiomeWidth + 25, Main.maxTilesX - SulphurousSea.BiomeWidth - 25); return unclampedValue; }); cursor.Emit(OpCodes.Stloc, 6);