Skip to content

Commit

Permalink
name consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 1, 2018
1 parent 8cb3a8b commit 7fb3f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ScreenNetEvaluation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class LunaScreenNetEvaluation : public Luna<ScreenNetEvaluation>
lua_pushnumber(L, p->m_iCurrentPlayer + 1);
return 1;
}
static int SelectPlayer(T* p, lua_State* L)
static int SetCurrentPlayer(T* p, lua_State* L)
{
p->m_iCurrentPlayer = IArg(1) - 1;
p->UpdateStats();
Expand All @@ -311,7 +311,7 @@ class LunaScreenNetEvaluation : public Luna<ScreenNetEvaluation>
ADD_METHOD(GetHighScore);
ADD_METHOD(GetOptions);
ADD_METHOD(GetCurrentPlayer);
ADD_METHOD(SelectPlayer);
ADD_METHOD(SetCurrentPlayer);
}
};

Expand Down

0 comments on commit 7fb3f21

Please sign in to comment.