Browse Source

Réduit les messages de la console.

master
sys4-fr 1 year ago
parent
commit
0f92ce7b10
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      init.lua

+ 2
- 2
init.lua View File

@@ -355,7 +355,7 @@ function playereffects.save_to_file()
if file then
file:write(savestring)
io.close(file)
minetest.log("action", "[playereffects] Wrote playereffects data into "..filepath..".")
minetest.log("verbose", "[playereffects] Wrote playereffects data into "..filepath..".")
else
minetest.log("error", "[playereffects] Failed to write playereffects data into "..filepath..".")
end
@@ -427,7 +427,7 @@ minetest.register_globalstep(function(dtime)
-- Autosave into file
if(playereffects.use_autosave == true and playereffects.autosave_timer >= playereffects.autosave_time) then
playereffects.autosave_timer = 0
minetest.log("action", "[playereffects] Autosaving mod data to playereffects.mt ...")
minetest.log("verbose", "[playereffects] Autosaving mod data to playereffects.mt ...")
playereffects.save_to_file()
end
end)


Loading…
Cancel
Save