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
parent
ce1ed11aba
commit
e0c43df52a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue