aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorSean Dague2007-12-10 22:33:49 +0000
committerSean Dague2007-12-10 22:33:49 +0000
commite0c43df52a658c7629e4630887bb849ae416a67d (patch)
treeb9c7643f0c9c9a8f7c279cc8671be88e700b28af /OpenSim/Region/Environment/Modules
parentenable autocreation of mysql inventory tables again. I think (diff)
downloadopensim-SC-e0c43df52a658c7629e4630887bb849ae416a67d.zip
opensim-SC-e0c43df52a658c7629e4630887bb849ae416a67d.tar.gz
opensim-SC-e0c43df52a658c7629e4630887bb849ae416a67d.tar.bz2
opensim-SC-e0c43df52a658c7629e4630887bb849ae416a67d.tar.xz
default day's to a more sensible 24 hrs instead of 0.5. You
can still change this in the config file if you want something different.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/SunModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/SunModule.cs b/OpenSim/Region/Environment/Modules/SunModule.cs
index 2dd5b77..6b5488d 100644
--- a/OpenSim/Region/Environment/Modules/SunModule.cs
+++ b/OpenSim/Region/Environment/Modules/SunModule.cs
@@ -57,7 +57,7 @@ namespace OpenSim.Region.Environment.Modules
57 57
58 // Just in case they don't have the stanzas 58 // Just in case they don't have the stanzas
59 try { 59 try {
60 m_day_length = config.Configs["Sun"].GetDouble("day_length", 0.5); 60 m_day_length = config.Configs["Sun"].GetDouble("day_length", 24.0);
61 m_frame_mod = config.Configs["Sun"].GetInt("frame_rate", 100); 61 m_frame_mod = config.Configs["Sun"].GetInt("frame_rate", 100);
62 } catch (Exception) { 62 } catch (Exception) {
63 m_day_length = 0.5; 63 m_day_length = 0.5;