Simplify.

This commit is contained in:
Steve Checkoway
2006-09-26 05:34:18 +00:00
parent 687e006cdf
commit 4a545228a9
+2 -2
View File
@@ -233,8 +233,8 @@ void Actor::LoadFromNode( const RString& sDir, const XNode* pNode )
Lua *L = LUA->Get();
this->PushContext(L);
lua_pushstring(L, sName );
LuaHelpers::RunScript( L, "return " + s, "", 1 );
lua_pushstring( L, sName );
LuaHelpers::RunExpression( L, s );
lua_settable( L, -3 );
lua_pop( L, 1 );