Fix web map retrieval for regions configured via .ini
parent
2a886fd76c
commit
93b24b5207
|
@ -978,11 +978,12 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
public void SaveLastMapUUID(UUID mapUUID)
|
public void SaveLastMapUUID(UUID mapUUID)
|
||||||
{
|
{
|
||||||
if (null == configMember) return;
|
|
||||||
|
|
||||||
lastMapUUID = mapUUID;
|
lastMapUUID = mapUUID;
|
||||||
lastMapRefresh = Util.UnixTimeSinceEpoch().ToString();
|
lastMapRefresh = Util.UnixTimeSinceEpoch().ToString();
|
||||||
|
|
||||||
|
if (configMember == null)
|
||||||
|
return;
|
||||||
|
|
||||||
configMember.forceSetConfigurationOption("lastmap_uuid", mapUUID.ToString());
|
configMember.forceSetConfigurationOption("lastmap_uuid", mapUUID.ToString());
|
||||||
configMember.forceSetConfigurationOption("lastmap_refresh", lastMapRefresh);
|
configMember.forceSetConfigurationOption("lastmap_refresh", lastMapRefresh);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue