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

science logs work

This commit is contained in:
Masamune 2019-12-30 14:17:51 +01:00
parent bff6803a1a
commit db3d617c61
2 changed files with 1 additions and 2 deletions

View File

@ -138,7 +138,6 @@ function add_stats(player, food, flask_amount,biter_force_name,evo_before_scienc
global.science_logs_text = { line_log_stats_to_add }
global.science_logs_evo_jump = { evo_jump }
global.science_logs_threat = { threat_jump }
global.science_logs_all = { formatted_feed_time .. line_log_stats_to_add .. evo_jump .. threat_jump }
end
end
end

View File

@ -261,7 +261,7 @@ local function draw_stats_gui(player)
l.style.font = "heading-1"
if global.science_logs_date then
local list_box = t.add({type = "list-box", name = "stats_list_box_" .. 1, items = global.science_logs_all})
local list_box = t.add({type = "list-box", name = "stats_list_box_" .. 1, items = global.science_logs_date})
list_box.style.minimal_height = 360
list_box.style.minimal_width = 160
list_box.style.maximal_height = 480