def clear_to_reset(self, config_vars):
        """Clear to the state immediately after a reset."""

        super(TileManagerState, self).clear_to_reset(config_vars)
        self.registered_tiles = self.registered_tiles[:1]
        self.safe_mode = False
        self.debug_mode = False