From e3f78387e4e7a0ff60bc82f293c166ec4765e082 Mon Sep 17 00:00:00 2001 From: oof2win2 Date: Sat, 14 May 2022 22:31:36 +0200 Subject: [PATCH] fix(graftorio): CI fix --- modules/graftorio/forcestats.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/graftorio/forcestats.lua b/modules/graftorio/forcestats.lua index e7e1f9fe..9839a484 100644 --- a/modules/graftorio/forcestats.lua +++ b/modules/graftorio/forcestats.lua @@ -173,9 +173,7 @@ Event.on_nth_tick(60, function() for _, force in pairs(game.forces) do if not general.data.output[force.name].research then general.data.output[force.name].research = {} end - local force_research = general.data.output[force.name].research or {} - - force_research = {} + local force_research = {} -- this works even if the queue is disabled, but it will always be just 1 long in that case for _, research in pairs(force.research_queue) do table.insert(force_research, {