diff --git a/pkg/extractor/v71/extracts.go b/pkg/extractor/v71/extracts.go index 2605c844..d06cdedb 100644 --- a/pkg/extractor/v71/extracts.go +++ b/pkg/extractor/v71/extracts.go @@ -307,7 +307,7 @@ type planetTechsResp struct { Num13101 int64 `json:"13101"` Num13102 int64 `json:"13102"` Num13103 int64 `json:"13103"` - Num12304 int64 `json:"12304"` + Num13104 int64 `json:"13104"` Num13105 int64 `json:"13105"` Num13106 int64 `json:"13106"` Num13107 int64 `json:"13107"` diff --git a/pkg/extractor/v9/extractor_test.go b/pkg/extractor/v9/extractor_test.go index b6291024..fb092229 100644 --- a/pkg/extractor/v9/extractor_test.go +++ b/pkg/extractor/v9/extractor_test.go @@ -59,7 +59,9 @@ func TestExtractEspionageReport(t *testing.T) { func TestExtractOverviewProduction(t *testing.T) { pageHTMLBytes, _ := ioutil.ReadFile("../../../samples/v9.0.2/en/lifeform/overview_all_queues.html") - prods, countdown, _ := NewExtractor().ExtractOverviewProduction(pageHTMLBytes) + e := NewExtractor() + e.SetLifeformEnabled(true) + prods, countdown, _ := e.ExtractOverviewProduction(pageHTMLBytes) assert.Equal(t, 4, len(prods)) assert.Equal(t, int64(1660), countdown) assert.Equal(t, ogame.SmallCargoID, prods[0].ID) diff --git a/pkg/ogame/lfBuildings.go b/pkg/ogame/lfBuildings.go index ae400677..a18fff88 100644 --- a/pkg/ogame/lfBuildings.go +++ b/pkg/ogame/lfBuildings.go @@ -62,7 +62,7 @@ type LfBuildings struct { AssemblyLine int64 // 13101 // Lifeform (mechas) FusionCellFactory int64 // 13102 RoboticsResearchCentre int64 // 13103 - UpdateNetwork int64 // 12304 + UpdateNetwork int64 // 13104 QuantumComputerCentre int64 // 13105 AutomatisedAssemblyCentre int64 // 13106 HighPerformanceTransformer int64 // 13107