width + x1 = x2...

This commit is contained in:
Zack 2011-07-22 23:18:59 -07:00
parent aa85cfeccb
commit 1468bbaa85

View file

@ -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", "");