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.
afrisby
Sean Dague 2007-12-10 22:33:49 +00:00
parent ce1ed11aba
commit e0c43df52a
1 changed files with 1 additions and 1 deletions

View File

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