Fixed env_credits always resetting sv_unlockedchapters to 15 when it shouldn't

This commit is contained in:
Blixibon
2021-03-12 11:08:39 -06:00
parent 36a459d21c
commit d953468bc1
2 changed files with 13 additions and 0 deletions

View File

@@ -553,6 +553,11 @@ CUtlVector<MODCHAPTER> *Mapbase_GetChapterList()
return &g_MapbaseChapterList;
}
int Mapbase_GetChapterCount()
{
return g_MapbaseChapterList.Count();
}
ThreeState_t Flashlight_GetLegacyVersionKey()
{
KeyValues *gameinfo = new KeyValues( "GameInfo" );