Judge Dre was not residing, but Compton Courthouse got gangsta real quick on Monday.

A drive-by shooting rattled the crew of Straight Outta Compton, an N.W.A. biopic that's currently in production on the streets of CPT. TMZ reports that an eyewitness saw "neighborhood guys" flashing gang signs at a passing car, and gunfire soon followed.

One nearby civilian was hit by a bullet but survived, according to the report.

"We're told filming will continue this week in a rough area of Compton," the report states. "Even though many members of the cast and crew are shaken, and worried about their safety."

HipHopDX points out that Ice Cube, Gary F. Gray and Dr. Dre are involved in the making of the film, while O'Shea Jackson, Jr. (playing his father, Ice Cube), Jason Mitchell (Eazy-E) and Corey Hawkins (Dre) are among the actors slotted to play famous rappers in the movie.

The project was in hot water earlier this year for a seemingly racist casting call, in which the movie's producers were searching for "A" girls (all races, "hottest of the hottest"), "B" girls ("light-skinned"), "C" girls ("African American girls ... with a weave") and "D" girls ("African American girls ... Poor, not in good shape").

Not all press has been negative, though; The fact that Jackson will play his father is a fun quirk to a movie that will be sure to have rap fans pouring in on opening weekend in 2015.

"At that age people think that I was all serious and mean, but there was a mixture of hot and cold," Cube told The Guardian in April. "I could turn on a dime. And he has my temperament."

The movie gets its name from N.W.A.'s 1988 debut album, a landmark record that brought gangsta rap into the mainstream.

Join the Discussion