diff --git a/map_gen/maps/quadrants/compilatron_handler.lua b/map_gen/maps/quadrants/compilatron_handler.lua index 10eaa335..401959b7 100644 --- a/map_gen/maps/quadrants/compilatron_handler.lua +++ b/map_gen/maps/quadrants/compilatron_handler.lua @@ -59,7 +59,7 @@ local callback = local ent = data.ent local name = data.name local msg_number = data.msg_number - message = + local message = ent.surface.create_entity( {name = 'compi-speech-bubble', text = messages[name][msg_number], position = {0, 0}, source = ent} ) diff --git a/map_gen/maps/quadrants/switch_team.lua b/map_gen/maps/quadrants/switch_team.lua index 87a7b022..b5275512 100644 --- a/map_gen/maps/quadrants/switch_team.lua +++ b/map_gen/maps/quadrants/switch_team.lua @@ -109,7 +109,8 @@ local function redraw_chest_button(data, player) { type = 'button', name = 'Quadrants.Button.Toggle', - caption = 'Toggle inventory empty to chest. Currently: ' .. toggle_status + caption = 'Toggle inventory empty to chest. Currently: ' .. toggle_status, + tooltip = 'If on:\nYour inventory will be emptied in a chest, when you switch quadrant' } ) button.style.font = 'default'