change last commit to do as console comand generate map

0.9.1.0-post-fixes
UbitUmarov 2019-02-01 12:52:58 +00:00
parent 45de5eb638
commit 6bb8055cc2
1 changed files with 2 additions and 2 deletions

View File

@ -10160,9 +10160,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
case "refreshmapvisibility":
if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))
{
IMapImageGenerator mapModule = Scene.RequestModuleInterface<IMapImageGenerator>();
IWorldMapModule mapModule = Scene.RequestModuleInterface<IWorldMapModule>();
if (mapModule != null)
mapModule.CreateMapTile();
mapModule.GenerateMaptile();
}
return true;