]> ruin.nu Git - ndwebbie.git/commitdiff
Bugfix, only show fleets from scans
authorMichael Andreen <harv@ruin.nu>
Fri, 30 Jan 2009 17:18:01 +0000 (18:18 +0100)
committerMichael Andreen <harv@ruin.nu>
Fri, 30 Jan 2009 17:18:01 +0000 (18:18 +0100)
lib/NDWeb/Controller/Stats.pm

index c7fa4a8653bc09e1a1b52bc5ce913a1fa4b9404b..3ad7906eb6e14736a5f211dde6431b9109a045cd 100644 (file)
@@ -117,8 +117,7 @@ sub planet : Local {
                ,amount, NULL AS coords, planet, NULL AS back
        FROM fleets f
        WHERE planet = $1 AND tick <= tick() AND (
-                       mission = 'Full fleet'
-                       OR fid IN (SELECT fid FROM fleet_scans)
+                       fid IN (SELECT fid FROM fleet_scans)
                ) AND (
                        mission = 'Full fleet'
                        OR tick >= tick() - 12