From e498005c853e5dca35d10b62754b0413a98182e7 Mon Sep 17 00:00:00 2001 From: Will Berry <73126355+wdberry@users.noreply.github.com> Date: Tue, 14 Mar 2023 17:04:34 -0400 Subject: [PATCH] Button is stuck for now, going to be harder than expected to get rid of it. --- cybersyn/scripts/main.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cybersyn/scripts/main.lua b/cybersyn/scripts/main.lua index f131491..326aae7 100644 --- a/cybersyn/scripts/main.lua +++ b/cybersyn/scripts/main.lua @@ -4,7 +4,6 @@ local manager = require('gui.main') local ceil = math.ceil local table_insert = table.insert local table_remove = table.remove -local mod_gui = require("__core__.lualib.mod-gui") @@ -959,12 +958,6 @@ local function main() script.on_nth_tick(mod_settings.manager_update_rate, function() manager.tick(global) end) - else - local button_flow = mod_gui.get_button_flow(player) - local button = button_flow["top_left_button"] - if button then - button.destroy() - end end end