remove PushStackNil
This commit is contained in:
@@ -73,14 +73,9 @@ void LuaManager::SetGlobal( const CString &sName, const CString &val )
|
||||
}
|
||||
|
||||
void LuaManager::UnsetGlobal( const CString &sName )
|
||||
{
|
||||
PushStackNil();
|
||||
SetGlobal( sName );
|
||||
}
|
||||
|
||||
void LuaManager::PushStackNil()
|
||||
{
|
||||
lua_pushnil( L );
|
||||
SetGlobal( sName );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user