diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 55d02e86ef..252b0a93de 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -543,7 +543,7 @@ ActorUtil::ActorParam::~ActorParam() void ActorUtil::ActorParam::Release() { - if( m_pOld->IsSet() ) + if( !m_pOld->IsSet() ) return; /* Restore the old value. */ Lua *L = LUA->Get();