Fix graphic pack content not being loaded

This commit is contained in:
Crementif 2022-09-02 12:16:17 +02:00
parent b1e92f1779
commit f63054d8f4
No known key found for this signature in database
GPG key ID: 43903308F77B6C3B

View file

@ -48,6 +48,9 @@ bool GraphicPack2::LoadGraphicPack(const std::wstring& filename, IniParser& rule
}
gp->SetEnabled(enabled);
if (gp->IsEnabled())
s_active_graphic_packs.emplace_back(gp);
}
gp->UpdatePresetVisibility();