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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user