diff --git a/stepmania/src/ScreenManager.cpp b/stepmania/src/ScreenManager.cpp index 353198d8d6..01d2f40b17 100644 --- a/stepmania/src/ScreenManager.cpp +++ b/stepmania/src/ScreenManager.cpp @@ -919,6 +919,7 @@ public: } static int SystemMessage( T* p, lua_State *L ) { p->SystemMessage( SArg(1) ); return 0; } static int ConcurrentlyPrepareScreen( T* p, lua_State *L ) { p->ConcurrentlyPrepareScreen( SArg(1) ); return 0; } + static int ScreenIsPrepped( T* p, lua_State *L ) { lua_pushboolean( L, ::ScreenIsPrepped( SArg(1) ) ); return 1; } static void Register(lua_State *L) { @@ -926,6 +927,7 @@ public: ADD_METHOD( GetTopScreen ); ADD_METHOD( SystemMessage ); ADD_METHOD( ConcurrentlyPrepareScreen ); + ADD_METHOD( ScreenIsPrepped ); Luna::Register( L );