mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
remove 1 "\n" in news
This commit is contained in:
parent
cc8ba514da
commit
b874856e3b
@ -19,10 +19,10 @@ function load_news()
|
||||
|
||||
for i,line in ipairs(commit) do
|
||||
if string.len(news[nb]) < caracteres_max then
|
||||
news[nb] = news[nb]..minetest.formspec_escape(line.."\n\n\n")
|
||||
news[nb] = news[nb]..minetest.formspec_escape(line.."\n\n")
|
||||
else
|
||||
nb = nb + 1
|
||||
news[nb] = minetest.formspec_escape(line.."\n\n\n")
|
||||
news[nb] = minetest.formspec_escape(line.."\n\n")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user