diff options
-rw-r--r-- | src/world/World.cs | 6 |
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() { |