mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Send GodLevel to viewers on login
This commit is contained in:
@@ -131,7 +131,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return canBeGod;
|
||||
}
|
||||
|
||||
protected void SyncViewerState()
|
||||
public void SyncViewerState()
|
||||
{
|
||||
bool canBeGod = CanBeGod();
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user