Fix hg-maps

Cinders 2013-10-01 20:51:45 -06:00
parent 4e1f7ce4e8
commit bf4a3e5dd4
1 changed files with 1 additions and 1 deletions

View File

@ -2183,7 +2183,7 @@ LLViewerRegion::EOSExportSupport LLViewerRegion::regionSupportsExport() const
std::string LLViewerRegion::getHGMapServerURL() const
{
std::string url = "";
if (mSimulatorFeatures.has("OpenSimExtras") && mSimulatorFeatures["OpenSimExtras"].has("mapServerURL"))
if (mSimulatorFeatures.has("OpenSimExtras") && mSimulatorFeatures["OpenSimExtras"].has("map-server-url"))
{
url = mSimulatorFeatures["OpenSimExtras"]["map-server-url"].asString();
}