diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-01-08 21:10:02 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-01-08 21:10:02 +0100 |
commit | 0d2ec6f49a781f4539f934217ec8eb157f6a7796 (patch) | |
tree | 3bb12de6c0a9ae5f59aae409d8143219ff378c90 /advtrains/advtrains/atc.lua | |
parent | eae99812e95eb74d28a9f7d3ee20f792f7eb8c9e (diff) | |
download | advtrains-0d2ec6f49a781f4539f934217ec8eb157f6a7796.tar.gz advtrains-0d2ec6f49a781f4539f934217ec8eb157f6a7796.tar.bz2 advtrains-0d2ec6f49a781f4539f934217ec8eb157f6a7796.zip |
Clean up debug message code
Diffstat (limited to 'advtrains/advtrains/atc.lua')
-rw-r--r-- | advtrains/advtrains/atc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/advtrains/atc.lua b/advtrains/advtrains/atc.lua index 2bc07be..bd02425 100644 --- a/advtrains/advtrains/atc.lua +++ b/advtrains/advtrains/atc.lua @@ -10,7 +10,7 @@ advtrains.fpath_atc=minetest.get_worldpath().."/advtrains_atc" local file, err = io.open(advtrains.fpath_atc, "r") if not file then local er=err or "Unknown Error" - atprint("[advtrains]Failed loading advtrains atc save file "..er) + atprint("Failed loading advtrains atc save file "..er) else local tbl = minetest.deserialize(file:read("*a")) if type(tbl) == "table" then @@ -22,7 +22,7 @@ function atc.save() --leave space for more save data. local datastr = minetest.serialize({controllers = atc.controllers}) if not datastr then - minetest.log("error", "[advtrains] Failed to serialize trackdb data!") + minetest.log("error", " Failed to serialize trackdb data!") return end local file, err = io.open(advtrains.fpath_atc, "w") |