According to court documents filed in Hawaii, Egan had his motion for voluntary dismissal of the lawsuit against the 'X-Men: Days of Future Past' director, in which the 31-year-old man claimed he was sexually abused by Singer as an aspiring teen actor, granted by a judge.
However, as part of the voluntary dismissal, a judge ruled that Egan does have the opportunity to re-file the lawsuit at a later date, reported Variety.
Egan, who previously sought the dismissal in sealed documents, filed a claim last week in Hawaii, asking for the case to be dismissed without prejudice, meaning he could file it again later, because he could not find a lawyer.
"Any alleged damage to defendant's reputation may well be ameliorated by plaintiff's voluntary dismissal of the action," the judge's order said.
Singer was accused in April of preying on Egan at a Californian house party when he was just 15-years-old after he was allegedly plied with drugs and alcohol and "taken advantage of."