From ac16a667e16bcdbc6d7e71774320a46680ee90b4 Mon Sep 17 00:00:00 2001 From: Mic Bowman Date: Tue, 1 Apr 2014 19:48:03 -0700 Subject: [PATCH] fix orphaned code in sun module per mantis 7068 --- OpenSim/Region/CoreModules/World/Sun/SunModule.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/Sun/SunModule.cs b/OpenSim/Region/CoreModules/World/Sun/SunModule.cs index 561552a6bd..d0318ebeec 100644 --- a/OpenSim/Region/CoreModules/World/Sun/SunModule.cs +++ b/OpenSim/Region/CoreModules/World/Sun/SunModule.cs @@ -562,13 +562,13 @@ namespace OpenSim.Region.CoreModules default: 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()