Send GodLevel to viewers on login

melanie
Melanie Thielker 2017-01-06 01:22:36 +00:00
parent 78ed9c81ff
commit a61a41ad92
2 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,7 @@ namespace OpenSim.Region.Framework.Scenes
return canBeGod;
}
protected void SyncViewerState()
public void SyncViewerState()
{
bool canBeGod = CanBeGod();

View File

@ -2015,6 +2015,8 @@ namespace OpenSim.Region.Framework.Scenes
if (!WaitForUpdateAgent(client))
// The sending region never sent the UpdateAgent data, we have to refuse
return;
GodController.SyncViewerState();
}
m_log.DebugFormat("[CompleteMovement] WaitForUpdateAgent: {0}ms", Util.EnvironmentTickCountSubtract(ts));