From 0b83e24c355eb60f39fc8c9e0f3fb9f59634b605 Mon Sep 17 00:00:00 2001 From: Oarcinae Date: Thu, 25 Jan 2018 13:08:48 -0500 Subject: [PATCH] Fixed broken MergeForcesKeepResearch function. Forgot it hadn't been tested yet... --- locale/oarc_utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/oarc_utils.lua b/locale/oarc_utils.lua index fd849a4..edae6ef 100644 --- a/locale/oarc_utils.lua +++ b/locale/oarc_utils.lua @@ -283,7 +283,7 @@ end -- Merges force2 INTO force1 but keeps all research between both forces. function MergeForcesKeepResearch(force1, force2) - for techName,luaTech in pairs(force2.technologies) + for techName,luaTech in pairs(force2.technologies) do if (luaTech.researched) then force1.technologies[techName].researched = true force1.technologies[techName].level = luaTech.level