Skip to content
Browse files

Fix incorrect view URL for games is a sanitised combination of author and basename, used to
compare remote and local content. Minetest ignores `_game` when comparing
game names, so has `_game` removed. This meant that the wrong
URL was being generated for View.
  • Loading branch information
rubenwardy committed Jul 28, 2020
1 parent ae83edd commit f948e2c58570df6bc77226b6066fec5ed90051ee
Showing with 3 additions and 2 deletions.
  1. +3 −2 builtin/mainmenu/dlg_contentstore.lua
@@ -505,8 +505,9 @@ function store.handle_submit(this, fields)

if fields["view_" .. i] then
local url = ("%s/packages/%s?protocol_version=%d"):format(
core.settings:get("contentdb_url"),, core.get_max_supp_proto())
local url = ("%s/packages/%s/%s?protocol_version=%d"):format(
core.settings:get("contentdb_url"),,, core.get_max_supp_proto())
return true

0 comments on commit f948e2c

Please sign in to comment.
You can’t perform that action at this time.