game: make achievements work without steam

This commit is contained in:
nillerusr
2022-04-16 13:08:46 +03:00
parent ab5c1c0b3a
commit a5e9cdcbe2
5 changed files with 44 additions and 28 deletions
+3 -1
View File
@@ -519,9 +519,11 @@ class CAchievementPortalFindAllDinosaurs : public CBaseAchievement
if ( id >= 0 && id < m_iNumComponents )
{
EnsureComponentBitSetAndEvaluate( id );
#ifndef DISABLE_STEAM
// Update our Steam stat
steamapicontext->SteamUserStats()->SetStat( "PORTAL_TRANSMISSION_RECEIVED_STAT", m_iCount );
#endif
}
else
{