From 4cee7a4045ab754adf9737b59c247517f392a057 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 29 Oct 2005 01:35:53 +0000 Subject: [PATCH] This table will be accessed very often, so use the terse name "P", for eg. File="@P.File". --- stepmania/src/ActorUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index ac797e300c..a876019b5d 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -106,13 +106,13 @@ retry: static void PushParamsTable( Lua *L ) { - lua_pushstring( L, "Params" ); + lua_pushstring( L, "P" ); lua_rawget( L, LUA_GLOBALSINDEX ); if( lua_isnil(L, -1) ) { lua_pop( L, 1 ); lua_newtable( L ); - lua_pushstring( L, "Params" ); + lua_pushstring( L, "P" ); lua_pushvalue( L, -2 ); lua_rawset( L, LUA_GLOBALSINDEX ); }