diff --git a/binaries/data/mods/public/simulation/components/TechnologyManager.js b/binaries/data/mods/public/simulation/components/TechnologyManager.js index 62d4e4037b..31f8e31e97 100644 --- a/binaries/data/mods/public/simulation/components/TechnologyManager.js +++ b/binaries/data/mods/public/simulation/components/TechnologyManager.js @@ -465,12 +465,6 @@ TechnologyManager.prototype.GetResearcher = function(tech) return this.researchQueued.get(tech) }; -// Get helper data for tech modifications -TechnologyManager.prototype.GetTechModifications = function() -{ - return this.modifications; -}; - /** * Called by GUIInterface for PlayerData. AI use. */ diff --git a/binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js b/binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js index 0161c5293d..c635a665ee 100644 --- a/binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js +++ b/binaries/data/mods/public/simulation/components/tests/test_GuiInterface.js @@ -129,8 +129,7 @@ AddMock(100, IID_TechnologyManager, { "GetStartedTechs": () => new Set(), "GetResearchedTechs": () => new Set(), "GetClassCounts": () => ({}), - "GetTypeCountsByClass": () => ({}), - "GetTechModifications": () => ({}) + "GetTypeCountsByClass": () => ({}) }); AddMock(100, IID_StatisticsTracker, { @@ -215,8 +214,7 @@ AddMock(101, IID_TechnologyManager, { "GetStartedTechs": () => new Set(), "GetResearchedTechs": () => new Set(), "GetClassCounts": () => ({}), - "GetTypeCountsByClass": () => ({}), - "GetTechModifications": () => ({}) + "GetTypeCountsByClass": () => ({}) }); AddMock(101, IID_StatisticsTracker, {