- Oops: corrected one useless check in previous commit into a slightly more useful one. Mumble copy & paste mumble.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3466 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Marc 2010-06-05 15:24:56 +00:00
parent 72e553706b
commit 69cb502117

View File

@ -98,7 +98,7 @@ SystemInfo.systemsInRange = function(range)
// If called using System.infoForSystem(galaxyNumber, systemNumber), use that system instead.
if (this !== SystemInfo)
{
if (this.systemID !== undefined && thisSystem.distanceToSystem !== undefined)
if (this.systemID !== undefined && this.distanceToSystem !== undefined)
{
thisSystem = this;
}