Skip to content

Commit

Permalink
#5108: Use the mod name before any base path when browsing mod resour…
Browse files Browse the repository at this point in the history
…ces.
  • Loading branch information
codereader committed Nov 20, 2020
1 parent 07aa55a commit 49b5033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/wxutil/fsview/Populator.cpp
Expand Up @@ -192,7 +192,8 @@ wxDataViewItem Populator::insertBasePathItem()
if (!path_is_absolute(_basePath.c_str()))
{
// Prepend the mod name to the base path
realBasePath = fmt::format("{0}:{1}", game::current::getModPath(_basePath),
realBasePath = fmt::format("{0}:{1}",
GlobalGameManager().currentGame()->getKeyValue("name"),
!_basePath.empty() ? _basePath : "/");
}

Expand Down

0 comments on commit 49b5033

Please sign in to comment.