forked from mirrors/0ad
Fix downloanded mods not showing in list until restart
since498f0d420bWhile at it, remove not used variable after6400a4a0c5also fix non visual replay broken in6400a4a0c5Differential revision: D4220 Tested by: @Stan, @Langbart Fixes: #6288 This was SVN commit r25853.
This commit is contained in:
@@ -156,9 +156,9 @@ bool AreModsPlayCompatible(const std::vector<Mod::ModData>& a, const std::vector
|
||||
return Mod::AreModsPlayCompatible(modsA, modsB);
|
||||
}
|
||||
|
||||
bool SetModsAndRestartEngine(const ScriptInterface& scriptInterface, const std::vector<CStr>& mods)
|
||||
bool SetModsAndRestartEngine(const std::vector<CStr>& mods)
|
||||
{
|
||||
if (!g_Mods.EnableMods(scriptInterface, mods, false))
|
||||
if (!g_Mods.EnableMods(mods, false))
|
||||
return false;
|
||||
|
||||
RestartEngine();
|
||||
|
||||
Reference in New Issue
Block a user