From 5526d54b8b74d5c5774e3c4526903bef5cf5529c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 16 Aug 2006 22:54:28 +0000 Subject: [PATCH] bind IsAutogen --- stepmania/src/Course.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 60cdd0a6ae..599d73d30a 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -931,6 +931,7 @@ public: return 1; } 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 void Register(lua_State *L) { @@ -942,6 +943,7 @@ public: ADD_METHOD( GetCourseEntry ); ADD_METHOD( GetAllTrails ); ADD_METHOD( GetGroupName ); + ADD_METHOD( IsAutogen ); Luna::Register( L ); }