1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix various cases of double-escaped error messages

This commit is contained in:
Gregor Parzefall 2023-06-01 20:35:40 +02:00 committed by sfan5
parent 29b7aea38b
commit e5a5d5a672
7 changed files with 18 additions and 18 deletions

View file

@ -62,8 +62,8 @@ function ui.update()
-- handle errors
if gamedata ~= nil and gamedata.reconnect_requested then
local error_message = core.formspec_escape(
gamedata.errormessage or fgettext("<none available>"))
local error_message = core.formspec_escape(gamedata.errormessage)
or fgettext("<none available>")
formspec = {
"size[14,8]",
"real_coordinates[true]",