Skip to content

Commit

Permalink
GameKit check time and player scope fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Sep 29, 2014
1 parent 4e106d8 commit bbf029c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Game Kit/source/iOS/gamekit.mm
Expand Up @@ -571,7 +571,7 @@ static int reportScore(lua_State* L)
return 0;
}

static int luaL_checktimescope(lua_State* L, int index)
static GKLeaderboardTimeScope luaL_checktimescope(lua_State* L, int index)
{
GKLeaderboardTimeScope timeScope = GKLeaderboardTimeScopeAllTime;
const char* timeScopeStr = luaL_checkstring(L, index);
Expand All @@ -595,7 +595,7 @@ static int luaL_checktimescope(lua_State* L, int index)
return timeScope;
}

static int luaL_checkplayerscope(lua_State* L, int index)
static GKLeaderboardPlayerScope luaL_checkplayerscope(lua_State* L, int index)
{
GKLeaderboardPlayerScope playerScope = GKLeaderboardPlayerScopeGlobal;
const char* playScopeStr = luaL_checkstring(L, index);
Expand Down

0 comments on commit bbf029c

Please sign in to comment.