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.
This commit is contained in:
Sean Dague
2007-12-10 22:33:49 +00:00
parent ce1ed11aba
commit e0c43df52a

View File

@@ -57,7 +57,7 @@ namespace OpenSim.Region.Environment.Modules
// Just in case they don't have the stanzas
try {
m_day_length = config.Configs["Sun"].GetDouble("day_length", 0.5);
m_day_length = config.Configs["Sun"].GetDouble("day_length", 24.0);
m_frame_mod = config.Configs["Sun"].GetInt("frame_rate", 100);
} catch (Exception) {
m_day_length = 0.5;