diff options
author | Melanie | 2009-10-21 03:44:40 +0100 |
---|---|---|
committer | Melanie | 2009-10-21 03:44:40 +0100 |
commit | 93b24b5207356cfbc37d766a01f5f2e3f3a34bae (patch) | |
tree | 809505510de4d39057bb549583d364eec80e79ef /OpenSim/Framework/RegionInfo.cs | |
parent | Really make module port selection work. Implement port setting in (diff) | |
download | opensim-SC-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.zip opensim-SC-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.tar.gz opensim-SC-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.tar.bz2 opensim-SC-93b24b5207356cfbc37d766a01f5f2e3f3a34bae.tar.xz |
Fix web map retrieval for regions configured via .ini
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 5 |
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 | } |