mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Renaming module back to SoundModule as the hypothetical plan was to make another module using the shared region module interface, but this was pointed out by Melanie_T to be mostly pointless.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
e308841de9
commit
a16ddbee41
@@ -39,8 +39,8 @@ using OpenSim.Region.Framework.Scenes;
|
||||
|
||||
namespace OpenSim.Region.CoreModules.World.Sound
|
||||
{
|
||||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "SoundModuleNonShared")]
|
||||
public class SoundModuleNonShared : INonSharedRegionModule, ISoundModule
|
||||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "SoundModule")]
|
||||
public class SoundModule : INonSharedRegionModule, ISoundModule
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(
|
||||
MethodBase.GetCurrentMethod().DeclaringType);
|
||||
@@ -64,7 +64,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||
}
|
||||
else
|
||||
{
|
||||
Enabled = config.GetString("Module", "SoundModuleNonShared") == "SoundModuleNonShared";
|
||||
Enabled = config.GetString("Module", "SoundModule") == "SoundModule";
|
||||
MaxDistance = config.GetFloat("MaxDistance", 100.0f);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user