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,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()
{ {