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,8 +39,10 @@ namespace OpenSim.world
}
public void DoStuff() {
physics.DoStuff(this);
this.Update();
lock(this) {
physics.DoStuff(this);
this.Update();
}
}
public void Update() {