mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
Prevent manually setting Data["locX"] and Data["locY"], since that would
overwrite the posX and posY members of the structure
This commit is contained in:
@@ -191,6 +191,10 @@ namespace OpenSim.Data.MySQL
|
||||
data.Data.Remove("sizeX");
|
||||
if (data.Data.ContainsKey("sizeY"))
|
||||
data.Data.Remove("sizeY");
|
||||
if (data.Data.ContainsKey("locX"))
|
||||
data.Data.Remove("locX");
|
||||
if (data.Data.ContainsKey("locY"))
|
||||
data.Data.Remove("locY");
|
||||
|
||||
string[] fields = new List<string>(data.Data.Keys).ToArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user