aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2009-10-21 03:44:40 +0100
committerMelanie2009-10-21 03:44:40 +0100
commit93b24b5207356cfbc37d766a01f5f2e3f3a34bae (patch)
tree809505510de4d39057bb549583d364eec80e79ef
parentReally make module port selection work. Implement port setting in (diff)
downloadopensim-SC_OLD-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.zip
opensim-SC_OLD-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.tar.gz
opensim-SC_OLD-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.tar.bz2
opensim-SC_OLD-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.tar.xz
Fix web map retrieval for regions configured via .ini
-rw-r--r--OpenSim/Framework/RegionInfo.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index a7315f5..c566544 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -978,11 +978,12 @@ namespace OpenSim.Framework
978 978
979 public void SaveLastMapUUID(UUID mapUUID) 979 public void SaveLastMapUUID(UUID mapUUID)
980 { 980 {
981 if (null == configMember) return;
982
983 lastMapUUID = mapUUID; 981 lastMapUUID = mapUUID;
984 lastMapRefresh = Util.UnixTimeSinceEpoch().ToString(); 982 lastMapRefresh = Util.UnixTimeSinceEpoch().ToString();
985 983
984 if (configMember == null)
985 return;
986
986 configMember.forceSetConfigurationOption("lastmap_uuid", mapUUID.ToString()); 987 configMember.forceSetConfigurationOption("lastmap_uuid", mapUUID.ToString());
987 configMember.forceSetConfigurationOption("lastmap_refresh", lastMapRefresh); 988 configMember.forceSetConfigurationOption("lastmap_refresh", lastMapRefresh);
988 } 989 }