Dungeon fix oversight patch
This commit is contained in:
1 parent
831b674aa1
commit
e2c0f9da58
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user