diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index b91693a696..12f42e2df2 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -932,6 +932,7 @@ public: } static int GetGroupName( T* p, lua_State *L ) { lua_pushstring(L, p->m_sGroupName ); return 1; } static int IsAutogen( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bIsAutogen ); return 1; } + static int GetEstimatedNumStages( T* p, lua_State *L ) { lua_pushnumber(L, p->GetEstimatedNumStages() ); return 1; } static void Register(lua_State *L) { @@ -944,6 +945,7 @@ public: ADD_METHOD( GetAllTrails ); ADD_METHOD( GetGroupName ); ADD_METHOD( IsAutogen ); + ADD_METHOD( GetEstimatedNumStages ); Luna::Register( L ); }