Skip to content

Commit

Permalink
Called the wrong method when incrementing
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Mar 17, 2020
1 parent 099ec81 commit d09f787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpgs/src/gpgs_extension.cpp
Expand Up @@ -530,7 +530,7 @@ static int GpgsAchievement_Increment(lua_State* L)

const char* achievementId = luaL_checkstring(L, 1);
int steps = luaL_checknumber(L, 2);
CallVoidMethodCharInt(g_gpgs.m_GpgsJNI, g_gpgs_achievement.m_UnlockAchievement, achievementId, steps);
CallVoidMethodCharInt(g_gpgs.m_GpgsJNI, g_gpgs_achievement.m_IncrementAchievement, achievementId, steps);
return 0;
}

Expand Down

0 comments on commit d09f787

Please sign in to comment.