X-Git-Url: http://git.scottworley.com/planeteer/blobdiff_plain/688733e10ee5b44d4d21ac73e69d6daad76c9745..34db23936b19deb1ec5203736942312448185115:/planeteer.go diff --git a/planeteer.go b/planeteer.go index d78f779..6c77fc0 100644 --- a/planeteer.go +++ b/planeteer.go @@ -348,7 +348,7 @@ func CellValue(data planet_data, dims []int, table []State, addr []int) int32 { } /* Travel here via Eden Warp Unit */ - if addr[Edens]+1 < dims[Edens] && addr[UnusedCargo] > 1 { + if addr[Edens]+1 < dims[Edens] && addr[UnusedCargo] > 0 { _, available := data.Planets[data.i2p[addr[Location]]].RelativePrices["Eden Warp Units"] if !available { other[Edens] = addr[Edens] + 1