diff --git a/Module/BirdsModule/FlockingModule.cs b/Module/BirdsModule/FlockingModule.cs index e1d10da..023dfc7 100644 --- a/Module/BirdsModule/FlockingModule.cs +++ b/Module/BirdsModule/FlockingModule.cs @@ -129,9 +129,11 @@ namespace Flocking m_borderSize = cnf.GetFloat("BirdsRegionBorderSize", 5f); m_maxHeight = cnf.GetInt("BirdsMaxHeight", 256); - m_log.InfoFormat("[{0}] Enabled on channel {1} with Flock Size {2}", m_name, m_chatChannel, m_flockSize); + m_log.InfoFormat("[{0}] Enabled on channel {1} with Flock Size {2}", m_name, m_chatChannel, m_flockSize); + + m_scene = scene; - //register commands + //register commands with the scene RegisterCommands(); //register handlers @@ -143,7 +145,7 @@ namespace Flocking m_view = new FlockingView(scene); m_view.BirdPrim = m_birdPrim; m_frame = 0; - m_scene = scene; + } }