Removes unused variable from ship