aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world
diff options
context:
space:
mode:
authorgareth2007-03-03 00:56:00 +0000
committergareth2007-03-03 00:56:00 +0000
commit442036fa8eeb331a728f51671ba43c2813a4a7d4 (patch)
tree233468a13e64b297a355743f76fcbc0659519951 /src/world
parentWe have a main update loop! (diff)
downloadopensim-SC-442036fa8eeb331a728f51671ba43c2813a4a7d4.zip
opensim-SC-442036fa8eeb331a728f51671ba43c2813a4a7d4.tar.gz
opensim-SC-442036fa8eeb331a728f51671ba43c2813a4a7d4.tar.bz2
opensim-SC-442036fa8eeb331a728f51671ba43c2813a4a7d4.tar.xz
Lock the world so we don't cause nastiness and crashes
Diffstat (limited to '')
-rw-r--r--src/world/World.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/world/World.cs b/src/world/World.cs
index dd9b336..1fabca4 100644
--- a/src/world/World.cs
+++ b/src/world/World.cs
@@ -39,8 +39,10 @@ namespace OpenSim.world
39 } 39 }
40 40
41 public void DoStuff() { 41 public void DoStuff() {
42 physics.DoStuff(this); 42 lock(this) {
43 this.Update(); 43 physics.DoStuff(this);
44 this.Update();
45 }
44 } 46 }
45 47
46 public void Update() { 48 public void Update() {