Comedian Tig Notaro is replacing Chris D’Elia in Zack Snyder’s zombie movie “Army of the Dead,” Variety has confirmed.

News of the recasting comes following allegations that D’Elia sexually harassed underage girls. Multiple women, some as young as 16, accused D’Elia of misconduct, including sending them inappropriate and explicit messages online. In wake of the allegations, he was dropped by his agency CAA. D’Elia — a comedian who recently appeared on Season 2 of Netflix’s teen drama “You” — has denied the accusations, calling all of his relationships “legal and consensual.”

Netflix is releasing “Army of the Dead,” a caper film that stars Dave Bautista, Ella Purnell and Ana de la Reguera. The movie takes place during a zombie outbreak and centers on a band of military mercenaries who plan a heist on a Vegas casino. “Army of the Dead” is being billed as a “spiritual sequel” to Snyder’s 2004 film “Dawn of the Dead.” Snyder produced the film under his Stone Quarry banner and co-wrote the screenplay with Shay Hatten and Joby Harold.

The movie had completed shooting and was in post-production before the pandemic hit in March and effectively shut down work on almost all movies and TV shows in development. “Army of the Dead” will undergo reshoots and use green screens, CGI and other special effects to seamlessly add Notaro to the production.

Notaro has released numerous Grammy and Emmy-nominated comedy albums, including “Live” and “Tig Notaro: Boyish Girl Interrupted.” She has previously worked as an actress in Paramount’s comedy “Instant Family” and Natalie Portman’s astronaut drama “Lucy in the Sky.”