mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-12-17 00:15:27 +01:00
Log DB migration to mod storage
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user