mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-05-11 05:10:22 +02:00
Log DB migration to mod storage
This commit is contained in:
parent
9e86d75577
commit
26c5b6b2c2
@ -71,6 +71,8 @@ local function read_tube_db()
|
|||||||
local file_content = file:read("*all")
|
local file_content = file:read("*all")
|
||||||
io.close(file)
|
io.close(file)
|
||||||
|
|
||||||
|
pipeworks.logger("Moving teleport tube DB into mod storage from " .. filename)
|
||||||
|
|
||||||
if file_content and file_content ~= "" then
|
if file_content and file_content ~= "" then
|
||||||
tp_tube_db = minetest.deserialize(file_content)
|
tp_tube_db = minetest.deserialize(file_content)
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user