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 @@ -357,8 +357,13 @@ // thing twice. var cmpTechnologyManager = QueryOwnerInterface(this.entity, IID_TechnologyManager); cmpTechnologyManager.QueuedResearch(templateName, this.entity); + // If the queue is empty, update the state of production as started. + 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 +371,7 @@ "count": 1, "technologyTemplate": templateName, "resources": cost, - "productionStarted": false, + "productionStarted": started, "timeTotal": time*1000, "timeRemaining": time*1000, });