change last commit to do as console comand generate map

This commit is contained in:
UbitUmarov
2019-02-01 12:52:58 +00:00
parent 45de5eb638
commit 6bb8055cc2

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;