1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Turned all boot messages into clean minetest.log() calls

- Turned all the 'print' calls at server's boot to 'minetest.log' in order to
   render it more clearly
This commit is contained in:
LeMagnesium
2015-05-24 10:50:22 +02:00
parent 3f10102866
commit 6b9b127804
31 changed files with 41 additions and 41 deletions

View File

@ -61,7 +61,7 @@ local default_bookmark = {}
local backwardscompatsave = "NO"
print(S("compassgps reading bookmarks"))
minetest.log("action", S("compassgps reading bookmarks"))
local file = io.open(minetest.get_worldpath().."/bookmarks", "r")
if file then
bookmarks = minetest.deserialize(file:read("*all"))
@ -127,7 +127,7 @@ end --distance3d
-- **********************************************************
print(S("compassgps reading settings"))
minetest.log("action", S("compassgps reading settings"))
if minetest.is_singleplayer() and show_shared_on_singleplayer==false then
singleplayer=true
else