Added deauth when openingsRemaining reaches 0. Remove when the FlatDoor is added