fix ActorParam::Release
This commit is contained in:
@@ -543,7 +543,7 @@ ActorUtil::ActorParam::~ActorParam()
|
|||||||
|
|
||||||
void ActorUtil::ActorParam::Release()
|
void ActorUtil::ActorParam::Release()
|
||||||
{
|
{
|
||||||
if( m_pOld->IsSet() )
|
if( !m_pOld->IsSet() )
|
||||||
return;
|
return;
|
||||||
/* Restore the old value. */
|
/* Restore the old value. */
|
||||||
Lua *L = LUA->Get();
|
Lua *L = LUA->Get();
|
||||||
|
|||||||
Reference in New Issue
Block a user