Fix a bug that turned autodig into passwall.