diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 886d1a9765..7e16661383 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1847,7 +1847,7 @@ public: static int SetCurrentSong( T* p, lua_State *L ) { if( lua_isnil(L,1) ) { p->m_pCurSong.Set( NULL ); } - else { Song *pS = Luna::check(L,1); p->m_pCurSong.Set( pS ); } + else { Song *pS = Luna::check( L, 1, true ); p->m_pCurSong.Set( pS ); } return 0; } static int GetCurrentSteps( T* p, lua_State *L )