Dungeon fix oversight patch

This commit is contained in:
Dominic committed 2020-12-11 20:24:37 -06:00
1 parent 831b674aa1
commit e2c0f9da58
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ namespace CalamityMod.ILEditing
cursor.Emit(OpCodes.Ldloc, 6);
cursor.EmitDelegate<Func<Vector2, Vector2>>(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);