nil already pushed

This commit is contained in:
Glenn Maynard
2006-09-23 02:48:12 +00:00
parent 0d05ebd9b5
commit 3eddfac7fc
-3
View File
@@ -478,10 +478,7 @@ void ActorUtil::ParseActorCommands( Lua *L, const RString &sCommands )
RString sError;
if( !LuaHelpers::RunScript( L, sLuaFunction, "", sError, 1 ) )
{
LOG->Warn( "Compiling \"%s\": %s", sLuaFunction.c_str(), sError.c_str() );
lua_pushnil( L );
}
/* The function is now on the stack. */
}