mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Repair database routines so they properly return null when asked for
the heighmap of a region that does not exist.
This commit is contained in:
@@ -148,6 +148,7 @@ namespace OpenSim.Data.Null
|
||||
}
|
||||
|
||||
// Legacy. Just don't do this.
|
||||
// Returns 'null' if region not found
|
||||
public double[,] LoadTerrain(UUID regionID)
|
||||
{
|
||||
if (m_terrains.ContainsKey(regionID))
|
||||
|
||||
Reference in New Issue
Block a user