allow LuaManager::RunExpression to return a function

show the filename when a full script has an error
use LuaManager::RunExpression in LuaExpression
This commit is contained in:
Glenn Maynard
2005-02-15 02:15:26 +00:00
parent 004d774889
commit 0a0ad8714c
4 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ void ActorCommands::Register()
CString s2 = s.str();
LUA->RunScript( s2, 1 );
LUA->RunScript( s2, "in", 1 );
/* The function is now on the stack. */
this->SetFromStack();