Fix downloanded mods not showing in list until restart

since 498f0d420b
While at it, remove not used variable after 6400a4a0c5
also fix non visual replay broken in 6400a4a0c5

Differential revision: D4220
Tested by: @Stan, @Langbart
Fixes: #6288

This was SVN commit r25853.
This commit is contained in:
Angen
2021-08-22 09:54:16 +00:00
parent 2cf908a974
commit 83bb6f3ed5
7 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ const std::vector<Mod::ModData>& Mod::GetAvailableMods() const
return m_AvailableMods;
}
bool Mod::EnableMods(const ScriptInterface& scriptInterface, const std::vector<CStr>& mods, const bool addPublic)
bool Mod::EnableMods(const std::vector<CStr>& mods, const bool addPublic)
{
m_IncompatibleMods.clear();
m_EnabledMods.clear();