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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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