diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 94ba6261ea..5f8585ff02 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -651,11 +651,17 @@ namespace LuaHelpers::Push( L, sPath ); return 1; } + int IsRegisteredType( lua_State *L ) + { + lua_pushboolean( L, IsRegistered(SArg(1)) ); + return 1; + } const luaL_Reg ActorUtilTable[] = { LIST_METHOD( GetFileType ), LIST_METHOD( ResolvePath ), + LIST_METHOD( IsRegisteredType ), { NULL, NULL } }; }