diff --git a/maps/chronosphere/config_tab.lua b/maps/chronosphere/config_tab.lua index ef6f84dc..6618fcb8 100644 --- a/maps/chronosphere/config_tab.lua +++ b/maps/chronosphere/config_tab.lua @@ -3,7 +3,7 @@ local Chrono_table = require 'maps.chronosphere.table' local Chrono = require 'maps.chronosphere.chrono' local Token = require 'utils.token' -local Tabs = require 'comfy_panel.tabs' +local Tabs = require 'comfy_panel.main' local module_name = 'ChronoTrain' diff --git a/maps/chronosphere/on_event.lua b/maps/chronosphere/on_event.lua index 12971c5a..e20aa2f2 100644 --- a/maps/chronosphere/on_event.lua +++ b/maps/chronosphere/on_event.lua @@ -243,9 +243,9 @@ function Public.on_pre_player_died(event) local poisons = surface.count_entities_filtered {position = player.position, radius = 10, name = 'poison-cloud'} if poisons > 0 then objective.poison_mastery_unlocked = objective.poison_mastery_unlocked + 1 - end - if objective.poison_mastery_unlocked == 10 then - game.print({'chronosphere.message_poison_mastery_unlock'}, {r = 0.98, g = 0.66, b = 0.22}) + if objective.poison_mastery_unlocked == 10 then + game.print({'chronosphere.message_poison_mastery_unlock'}, {r = 0.98, g = 0.66, b = 0.22}) + end end end