Playing Games With Vulgar Language
Perhaps an argument can also be made with the intention you have in mind? If your intention is to seek entertainment from the elements gameplay/asthetics/story experience then you can just ignore those particular profane words/dialogues and be mindful as to not be influenced by them or any other immoral elements. In this case it’s fine I guess. However situation would be different if you were to seek entertainment from those indecent elements in which you would go out of your way to seek entertainment by those very immoral elements then in this case it could be considered Haram.