Skip to content

Commit

Permalink
Fix auto_install_spec being used as a table
Browse files Browse the repository at this point in the history
(It's a string since minetest#13906.)
  • Loading branch information
grorp committed Nov 8, 2023
1 parent 5690274 commit f9b120d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin/mainmenu/content/dlg_contentstore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9b120d

Please sign in to comment.