fix orphaned code in sun module per mantis 7068
parent
7bafee28fa
commit
ac16a667e1
|
@ -562,6 +562,7 @@ namespace OpenSim.Region.CoreModules
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw new Exception("Unknown sun parameter.");
|
throw new Exception("Unknown sun parameter.");
|
||||||
|
}
|
||||||
|
|
||||||
// Generate shared values
|
// Generate shared values
|
||||||
GenSunPos();
|
GenSunPos();
|
||||||
|
@ -569,7 +570,6 @@ namespace OpenSim.Region.CoreModules
|
||||||
// When sun settings are updated, we should update all clients with new settings.
|
// When sun settings are updated, we should update all clients with new settings.
|
||||||
SunUpdateToAllClients();
|
SunUpdateToAllClients();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public float GetCurrentSunHour()
|
public float GetCurrentSunHour()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue