aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 322db2c..9d798de 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -54,6 +54,7 @@ namespace SimpleApp
54 UDPServer udpServer; 54 UDPServer udpServer;
55 55
56 Scene scene = SetupScene(regionInfo, out udpServer); 56 Scene scene = SetupScene(regionInfo, out udpServer);
57 scene.StartTimer();
57 58
58 udpServer.ServerListener(); 59 udpServer.ServerListener();
59 60
@@ -64,7 +65,7 @@ namespace SimpleApp
64 SceneObject m_sceneObject = new MySceneObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); 65 SceneObject m_sceneObject = new MySceneObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape);
65 scene.AddEntity(m_sceneObject); 66 scene.AddEntity(m_sceneObject);
66 67
67 MyNpcCharacter m_character = new MyNpcCharacter(); 68 MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager );
68 scene.AddNewClient(m_character, false); 69 scene.AddNewClient(m_character, false);
69 70
70 m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit."); 71 m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit.");