Fix navigating to LE mod from search

This commit is contained in:
Tyler Hallada 2022-09-22 13:16:06 -04:00
parent 57088e12ef
commit c32e30492c

View File

@ -867,7 +867,12 @@ const Map: React.FC = () => {
query: { cell: `${selectedItem.x},${selectedItem.y}` }, query: { cell: `${selectedItem.x},${selectedItem.y}` },
}); });
} else { } else {
router.push({ query: { mod: selectedItem.id } }); router.push({
query: {
game: selectedItem.game,
mod: selectedItem.id,
},
});
} }
}} }}
includeCells includeCells