Fix auto_install_spec being used as a table (#13970)

(It's a string since #13906.)
This commit is contained in:
Gregor Parzefall
2023-11-09 19:54:47 +01:00
committed by GitHub
parent 56902745c8
commit 394450758e

View File

@ -705,8 +705,7 @@ local function resolve_auto_install_spec()
end
if not resolved then
gamedata.errormessage = fgettext("The package $1/$2 was not found.",
auto_install_spec.author, auto_install_spec.name)
gamedata.errormessage = fgettext("The package $1 was not found.", auto_install_spec)
ui.update()
auto_install_spec = nil