1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00

Merge pull request #135 from Masamune0/bugFixMutagenLogEmptyISSUE134

[MUTAGENLOG]Fixed the loop not always doing 7 iterations for all science : crashing summary info of feeding
This commit is contained in:
MewMew 2020-02-07 10:02:05 +01:00 committed by GitHub
commit 4ac13ba721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ local function add_stats(player, food, flask_amount,biter_force_name,evo_before_
if global.science_logs_total_north == nil then if global.science_logs_total_north == nil then
global.science_logs_total_north = { 0 } global.science_logs_total_north = { 0 }
global.science_logs_total_south = { 0 } global.science_logs_total_south = { 0 }
for a = 1, flask_amount, 7 do for a = 1, 7 do
table.insert(global.science_logs_total_north, 0) table.insert(global.science_logs_total_north, 0)
table.insert(global.science_logs_total_south, 0) table.insert(global.science_logs_total_south, 0)
end end