diff --git a/stepmania/src/LuaManager.cpp b/stepmania/src/LuaManager.cpp index ce0b28c711..85ff9ff196 100644 --- a/stepmania/src/LuaManager.cpp +++ b/stepmania/src/LuaManager.cpp @@ -380,12 +380,6 @@ bool LuaManager::RunAtExpressionS( CString &sStr ) return true; } -void LuaManager::Fail( const CString &err ) -{ - lua_pushstring( L, err ); - lua_error( L ); -} - /* Like luaL_typerror, but without the special case for argument 1 being "self" * in method calls, so we give a correct error message after we remove self. */ int LuaHelpers::TypeError( Lua *L, int iArgNo, const char *szName ) diff --git a/stepmania/src/LuaManager.h b/stepmania/src/LuaManager.h index a07bd54735..0a31d3a6fd 100644 --- a/stepmania/src/LuaManager.h +++ b/stepmania/src/LuaManager.h @@ -62,8 +62,6 @@ public: /* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */ bool RunAtExpressionS( CString &sStr ); - void Fail( const CString &err ); - void SetGlobal( const CString &sName, int val ); void SetGlobal( const CString &sName, bool val ); void SetGlobal( const CString &sName, const CString &val );