Fixed stupid issue with steam sync

This commit is contained in:
Linus Probert 2018-09-02 17:39:43 +02:00
parent ad2d0af79b
commit 75292d7539
1 changed files with 2 additions and 3 deletions

View File

@ -12,13 +12,12 @@ static CallbackHandler *m_CallbackHandler = NULL;
extern "C" int64_t
c_SteamAPI_Init()
{
m_CallbackHandler = new CallbackHandler(m_AppId);
if (SteamAPI_Init()) {
m_AppId = SteamUtils()->GetAppID();
m_Initiated = true;
return m_AppId;
}
return 0;
m_CallbackHandler = new CallbackHandler(m_AppId);
return m_AppId;
}
extern "C" int64_t