Prevent a null client from crashing windlight.
parent
fd2bee8da1
commit
9eb39406ad
|
@ -153,6 +153,9 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
|||
|
||||
public void SendProfileToClient(IClientAPI client, RegionLightShareData wl)
|
||||
{
|
||||
if (client == null)
|
||||
return;
|
||||
|
||||
if (m_enableWindlight)
|
||||
{
|
||||
if (m_scene.RegionInfo.WindlightSettings.valid)
|
||||
|
|
Loading…
Reference in New Issue