Change la barre de progression pendant le chargement du mod

Cette dernière n'était pas bien supportée par tous les terminaux.
This commit is contained in:
Sys Quatre 2019-12-22 22:06:35 +01:00
parent 1745cc0ba3
commit 0463712cbb
1 changed files with 2 additions and 2 deletions

View File

@ -1415,7 +1415,7 @@ local function get_init_items()
last_str = str
end
local full_char, empty_char = "", ""
local full_char, empty_char = "o", "."
for name, def in pairs(reg_items) do
ic = ic + 1
@ -1425,7 +1425,7 @@ local function get_init_items()
bar = bar .. (i <= percent / (100 / len) and full_char or empty_char)
end
iop(fmt("[craftguide] Caching data %s %u%%\r", bar, percent))
iop(fmt("[craftguide] Caching data %s %u%%\n", bar, percent))
if show_item(def) then
if not fuel_cache[name] then