Pretending to be a gay father may cause some conflict for Walden when he becomes attracted to hot single mothers in the next episode of "Two and a Half Men."

In last week's episode, "Alan Shot a Little Girl," Walden and Alan bumped heads when Alan kept letting their foster child break his rules.

At the beginning of the episode, the social worker approved Walden and Alan to officially adopt Louis, however she warned them that he may display withdrawn or manipulative behavior as a result of spending so much time in the foster care system. Shortly thereafter, the 6-year-old boy began using his rough childhood as bait to manipulate Alan into giving him what he wants. For example, he told Alan that he couldn't play video games in a group home in order to persuade him into playing video games past his curfew. He also told Alan that his previous foster family refused to let him eat cookies so that Alan would give him a cookie for breakfast.

When Walden found out that Alan was letting Louis break the rules, he scolded him for going behind his back instead of working as a team to raise Louis. Alan promised not to give into Louis' demands but ended up taking him to play laser tag behind Walden's back.

While they were playing, Louis bumped his head and needed to go to the hospital for stitches, reports Entertainment Weekly. That's when Walden found out that his roommate gave Louis another treat without his consent.

Eventually, the two dads agreed to work together to raise Louis.

A preview of the next new episode, which is entitled "Sex With an Animated Ed Asner," shows that Walden will feel conflicted about his marriage to Alan when he begins to fall for other women. The heterosexual roommates agreed to remain married to each other for six months after they used their marriage to help them adopt a child.

According to Carter Matt, the official synopsis states:

"Alan and Walden befriend three moms at a kids' gym, but things get complicated when Walden becomes attracted to one of them. Meanwhile, Alan goes out for a girls' night with a group of moms."

It was also announced that the long-running comedy will air its one-hour series finale on Thursday, Feb. 19 at 9/8c, reports TVLine.

Season 12, Episode 7 of "Two and a Half Men," "Sex With an Animated Ed Asner," airs on Thursday, Dec. 11 on CBS.

Watch a preview video below.