Lock the world so we don't cause nastiness and crashes

adam
gareth 2007-03-03 00:56:00 +00:00
parent 0703b548c0
commit 442036fa8e
1 changed files with 4 additions and 2 deletions

View File

@ -39,9 +39,11 @@ namespace OpenSim.world
}
public void DoStuff() {
lock(this) {
physics.DoStuff(this);
this.Update();
}
}
public void Update() {
foreach (libsecondlife.LLUUID UUID in Entities.Keys)