1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

Fix global -> storage and remove unused maps in control

This commit is contained in:
Gerkiz 2024-10-14 23:49:04 +02:00
parent 7565520ead
commit 11eda152fc
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
require 'utils.data_stages'
_LIFECYCLE = _STAGE.control -- Control stage
_DEBUG = true
_DEBUG = false
_DUMP_ENV = false
_PROFILE = false
@ -84,7 +84,7 @@ require 'utils.remote_chunks'
--require 'maps.biter_battles.biter_battles'
--![[Guide a Train through rough terrain, while defending it from the biters]]--
require 'maps.mountain_fortress_v3.main'
--require 'maps.mountain_fortress_v3.main'
--require 'maps.mountain_fortress_v2.main'
--require 'maps.mountain_fortress'

View File

@ -92,10 +92,10 @@ Gui.on_click(
element.style.font_color = Color.orange
data.selected_header = element
input_text_box.text = concat { "global['", key, "']" }
input_text_box.text = concat { "storage['", key, "']" }
input_text_box.style.font_color = Color.black
local content = dump(global[key]) or 'nil'
local content = dump(storage[key]) or 'nil'
right_panel.text = content
end
)