Deal was struck over San Diego Comic-Con weekend