Index: binaries/data/mods/public/simulation/components/ProductionQueue.js =================================================================== --- binaries/data/mods/public/simulation/components/ProductionQueue.js +++ binaries/data/mods/public/simulation/components/ProductionQueue.js @@ -354,11 +354,15 @@ return; // Tell the technology manager that we have started researching this so that people can't research the same - // thing twice. + // thing twice and update the state of production as started. var cmpTechnologyManager = QueryOwnerInterface(this.entity, IID_TechnologyManager); cmpTechnologyManager.QueuedResearch(templateName, this.entity); + let started = false; if (this.queue.length == 0) - cmpTechnologyManager.StartedResearch(templateName, false); + { + cmpTechnologyManager.StartedResearch(templateName, true); + started = true; + } this.queue.push({ "id": this.nextID++, @@ -366,7 +370,7 @@ "count": 1, "technologyTemplate": templateName, "resources": cost, - "productionStarted": false, + "productionStarted": started, "timeTotal": time*1000, "timeRemaining": time*1000, });