Made objShopState revert attached object to pre-existing conditions upon exit.