aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Sun/SunModule.cs
diff options
context:
space:
mode:
authorMic Bowman2014-04-01 19:48:03 -0700
committerMic Bowman2014-04-01 19:48:03 -0700
commitac16a667e16bcdbc6d7e71774320a46680ee90b4 (patch)
tree178e27fb4b700bce9b5dfd208d3a2c8dabe49d6a /OpenSim/Region/CoreModules/World/Sun/SunModule.cs
parentRemoving warning from SceneObjectLinkingTests.TestLinkDelink2SceneObjects() b... (diff)
downloadopensim-SC_OLD-ac16a667e16bcdbc6d7e71774320a46680ee90b4.zip
opensim-SC_OLD-ac16a667e16bcdbc6d7e71774320a46680ee90b4.tar.gz
opensim-SC_OLD-ac16a667e16bcdbc6d7e71774320a46680ee90b4.tar.bz2
opensim-SC_OLD-ac16a667e16bcdbc6d7e71774320a46680ee90b4.tar.xz
fix orphaned code in sun module per mantis 7068
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Sun/SunModule.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sun/SunModule.cs b/OpenSim/Region/CoreModules/World/Sun/SunModule.cs
index 561552a..d0318eb 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
562 562
563 default: 563 default:
564 throw new Exception("Unknown sun parameter."); 564 throw new Exception("Unknown sun parameter.");
565 }
565 566
566 // Generate shared values 567 // Generate shared values
567 GenSunPos(); 568 GenSunPos();
568 569
569 // When sun settings are updated, we should update all clients with new settings. 570 // When sun settings are updated, we should update all clients with new settings.
570 SunUpdateToAllClients(); 571 SunUpdateToAllClients();
571 }
572 } 572 }
573 573
574 public float GetCurrentSunHour() 574 public float GetCurrentSunHour()