From e06198f7c3126ea571408da301bb6f8abe35eeed Mon Sep 17 00:00:00 2001 From: ywang Date: Sun, 12 Apr 2020 16:12:07 +0200 Subject: Stage changes --- advtrains/init.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/advtrains/init.lua b/advtrains/init.lua index d36d2dd..753ace6 100644 --- a/advtrains/init.lua +++ b/advtrains/init.lua @@ -366,18 +366,11 @@ advtrains.save_component = function (tbl, name) end local path = advtrains.fpath.."_"..name local success = minetest.safe_file_write(path, datastr) - + if not success then minetest.log("error", " Failed to write advtrains save data to file "..path) end -<<<<<<< HEAD -======= - file:write(datastr) - file:close() - os.rename(temppath, advtrains.fpath.."_"..name) - ->>>>>>> hostfix for trains ignoring ATC tracks end advtrains.avt_save = function(remove_players_from_wagons) -- cgit v1.2.3