]> git.lizzy.rs Git - minetest.git/commit
Fix incorrect view URL for games
authorrubenwardy <rw@rubenwardy.com>
Tue, 28 Jul 2020 16:01:52 +0000 (17:01 +0100)
committerrubenwardy <rw@rubenwardy.com>
Tue, 28 Jul 2020 16:02:32 +0000 (17:02 +0100)
commitf948e2c58570df6bc77226b6066fec5ed90051ee
tree419e3928682041b7a840db46338226c8b99f357b
parentae83edd16581b2b5426b565e703a8766e88dbbf6
Fix incorrect view URL for games

package.id is a sanitised combination of author and basename, used to
compare remote and local content. Minetest ignores `_game` when comparing
game names, so package.id has `_game` removed. This meant that the wrong
URL was being generated for View.
builtin/mainmenu/dlg_contentstore.lua