aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world/World.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world/World.cs')
-rw-r--r--src/world/World.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/world/World.cs b/src/world/World.cs
index f02f73f..dd9b336 100644
--- a/src/world/World.cs
+++ b/src/world/World.cs
@@ -39,13 +39,17 @@ namespace OpenSim.world
39 } 39 }
40 40
41 public void DoStuff() { 41 public void DoStuff() {
42 Thread.Sleep(1000); 42 physics.DoStuff(this);
43 this.Update();
43 } 44 }
44 45
45 public void Update() { 46 public void Update() {
46 foreach (libsecondlife.LLUUID UUID in Entities.Keys) 47 foreach (libsecondlife.LLUUID UUID in Entities.Keys)
47 { 48 {
48 Entities[UUID].update(); 49 if(Entities[UUID].needupdate) {
50 Entities[UUID].update();
51 }
52
49 } 53 }
50 } 54 }
51 55