mirror of
https://gitlab.com/deetmit/mesecons_x.git
synced 2024-08-19 12:54:10 +02:00
fix: edit and save circuit
This commit is contained in:
parent
7cbad9d962
commit
194f444d2c
@ -126,12 +126,12 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
local info = {}
|
local info = {}
|
||||||
local file = data.file
|
local file = data.file
|
||||||
|
|
||||||
--[[
|
|
||||||
info = read_table_from_file(file)
|
info = read_table_from_file(file)
|
||||||
info.title = fields.title
|
info.title = fields.title
|
||||||
info.text = fields.text
|
info.text = fields.text
|
||||||
save_table_to_file(file,info)
|
save_table_to_file(file,info)
|
||||||
]]--
|
|
||||||
|
|
||||||
data.title = fields.title
|
data.title = fields.title
|
||||||
data.text = fields.text
|
data.text = fields.text
|
||||||
|
Loading…
Reference in New Issue
Block a user