fix orphaned code in sun module per mantis 7068

0.8.0.3
Mic Bowman 2014-04-01 19:48:03 -07:00
parent 7bafee28fa
commit ac16a667e1
1 changed files with 6 additions and 6 deletions

View File

@ -562,13 +562,13 @@ namespace OpenSim.Region.CoreModules
default: default:
throw new Exception("Unknown sun parameter."); throw new Exception("Unknown sun parameter.");
// Generate shared values
GenSunPos();
// When sun settings are updated, we should update all clients with new settings.
SunUpdateToAllClients();
} }
// Generate shared values
GenSunPos();
// When sun settings are updated, we should update all clients with new settings.
SunUpdateToAllClients();
} }
public float GetCurrentSunHour() public float GetCurrentSunHour()