mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
game: make achievements work without steam
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user