diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs index 96271a3..523de75 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs | |||
@@ -41,6 +41,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
41 | private bool m_dumpAssetsToFile = false; | 41 | private bool m_dumpAssetsToFile = false; |
42 | private Scene m_scene = null; | 42 | private Scene m_scene = null; |
43 | 43 | ||
44 | [Obsolete] | ||
44 | public Scene MyScene | 45 | public Scene MyScene |
45 | { | 46 | { |
46 | get{ return m_scene;} | 47 | get{ return m_scene;} |
@@ -70,6 +71,12 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
70 | 71 | ||
71 | scene.EventManager.OnNewClient += NewClient; | 72 | scene.EventManager.OnNewClient += NewClient; |
72 | } | 73 | } |
74 | |||
75 | // EVIL HACK! | ||
76 | // This needs killing! | ||
77 | // | ||
78 | if (m_scene == null) | ||
79 | m_scene = scene; | ||
73 | } | 80 | } |
74 | 81 | ||
75 | public void PostInitialise() | 82 | public void PostInitialise() |