From 1468bbaa85453b782f452583fa4b5526b8390f9b Mon Sep 17 00:00:00 2001 From: Zack Date: Fri, 22 Jul 2011 23:18:59 -0700 Subject: [PATCH] width + x1 = x2... --- TShockAPI/DB/RegionManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/DB/RegionManager.cs b/TShockAPI/DB/RegionManager.cs index 0168c167..9c3e96e8 100644 --- a/TShockAPI/DB/RegionManager.cs +++ b/TShockAPI/DB/RegionManager.cs @@ -295,8 +295,8 @@ namespace TShockAPI.DB "INSERT INTO Regions VALUES (@tx, @ty, @height, @width, @name, @worldid, @userids, @protected);"; com.AddParameter("@tx", tx); com.AddParameter("@ty", ty); - com.AddParameter("@width", width + tx); - com.AddParameter("@height", height + ty); + com.AddParameter("@width", width); + com.AddParameter("@height", height); com.AddParameter("@name", regionname.ToLower()); com.AddParameter("@worldid", worldid); com.AddParameter("@userids", "");