Skip to content

Commit

Permalink
deprecate game:countnotesseparately, they do not work and the gamesta…
Browse files Browse the repository at this point in the history
…te function of the same name should be used
  • Loading branch information
MinaciousGrace committed Sep 17, 2017
1 parent 42207be commit 7585ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class LunaGame: public Luna<Game>
{
public:
static int GetName( T* p, lua_State *L ) { lua_pushstring( L, p->m_szName ); return 1; }
static int CountNotesSeparately( T* p, lua_State *L ) { lua_pushboolean( L, p->m_bCountNotesSeparately ); return 1; }
static int CountNotesSeparately( T* p, lua_State *L ) { lua_pushstring( L, "deprecated use GAMESTATE function instead" ); return 1; }
DEFINE_METHOD( GetMapJudgmentTo, GetMapJudgmentTo(Enum::Check<TapNoteScore>(L, 1)) )
DEFINE_METHOD(GetSeparateStyles, m_PlayersHaveSeparateStyles);

Expand Down

0 comments on commit 7585ee8

Please sign in to comment.