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

unused function removal

This commit is contained in:
MewMew 2020-01-04 20:38:24 +01:00
parent a0d97a6b08
commit 3cf61967aa
2 changed files with 1 additions and 13 deletions

View File

@ -140,7 +140,6 @@ Event.add(defines.events.on_robot_built_entity, on_robot_built_entity)
Event.add(defines.events.on_tick, on_tick)
Event.on_init(on_init)
require "maps.biter_battles_v2.spec_spy"
require "maps.biter_battles_v2.terrain"
require "maps.biter_battles_v2.difficulty_vote"

View File

@ -2,7 +2,6 @@
local Tabs = require 'comfy_panel.main'
local function add_science_logs(element)
local t = element.add { type = "table", name = "science_logs_header_table", column_count = 4 }
local column_widths = {tonumber(90), tonumber(340), tonumber(170), tonumber(190)}
@ -47,19 +46,9 @@ local function add_science_logs(element)
end
end
local build_config_gui = (function (player, frame)
frame.clear()
add_science_logs(frame)
end)
local function on_gui_click(event)
if not event.element then return end
if not event.element.valid then return end
end
comfy_panel_tabs["MutagenLog"] = build_config_gui
local event = require 'utils.event'
event.add(defines.events.on_gui_click, on_gui_click)
comfy_panel_tabs["MutagenLog"] = build_config_gui