mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Prevent a null client from crashing windlight.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user