diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index cb3d1377d1..2605a8fc65 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -985,7 +985,9 @@ void Actor::RunCommands( const LuaReference& cmds, const LuaReference *pParamTab pParamTable->PushSelf( L ); // call function with 2 arguments and 0 results - lua_call( L, 2, 0 ); + RString sError; + if( !LuaHelpers::RunScriptOnStack(L, sError, 2, 0) ) + LOG->Warn( "Error playing command: %s", sError.c_str() ); LUA->Release(L); }