Lock the world so we don't cause nastiness and crashes
parent
0703b548c0
commit
442036fa8e
|
@ -39,9 +39,11 @@ namespace OpenSim.world
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DoStuff() {
|
public void DoStuff() {
|
||||||
|
lock(this) {
|
||||||
physics.DoStuff(this);
|
physics.DoStuff(this);
|
||||||
this.Update();
|
this.Update();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Update() {
|
public void Update() {
|
||||||
foreach (libsecondlife.LLUUID UUID in Entities.Keys)
|
foreach (libsecondlife.LLUUID UUID in Entities.Keys)
|
||||||
|
|
Loading…
Reference in New Issue