This effector is never invoked as the attribute is being set to false two lines previously; re-order and only set to false inside the body of the if statement