remove LuaManager::PushNopFunction(). Just compile an empty function;
it'll be tiny, anyway.
This commit is contained in:
@@ -14,13 +14,6 @@ ActorCommands::ActorCommands( const Commands& cmds )
|
||||
|
||||
void ActorCommands::Register()
|
||||
{
|
||||
if( m_cmds.v.size() == 0 )
|
||||
{
|
||||
LUA->PushNopFunction();
|
||||
this->SetFromStack();
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// Convert cmds to a Lua function
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user