LuaHelpers::RunScript

This commit is contained in:
Glenn Maynard
2005-06-16 06:17:32 +00:00
parent b93399da8c
commit 914acb4b7b
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ void LuaExpression::Register()
{
Lua *L = LUA->Get();
if( !LUA->RunScript( m_sExpression, "expression", 1 ) )
if( !LuaHelpers::RunScript(L, m_sExpression, "expression", 1) )
{
this->SetFromNil();
LUA->Release( L );