From db3d617c61fdc85b064bae2f71931c6bbc75ec96 Mon Sep 17 00:00:00 2001 From: Masamune Date: Mon, 30 Dec 2019 14:17:51 +0100 Subject: [PATCH] science logs work --- maps/biter_battles_v2/feeding.lua | 1 - maps/biter_battles_v2/team_manager.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/maps/biter_battles_v2/feeding.lua b/maps/biter_battles_v2/feeding.lua index abb50a8a..14b78bd9 100644 --- a/maps/biter_battles_v2/feeding.lua +++ b/maps/biter_battles_v2/feeding.lua @@ -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 diff --git a/maps/biter_battles_v2/team_manager.lua b/maps/biter_battles_v2/team_manager.lua index 3f27df93..cc4074d1 100644 --- a/maps/biter_battles_v2/team_manager.lua +++ b/maps/biter_battles_v2/team_manager.lua @@ -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