It was to make a point about the racism he faced. It was shown in a bad way, the creators are not condoning use of the slur.
Yep, I played the game and that's exactly it
Yeah but there's so many better ways they could have done that if they thought it was necessary to the story. Throwing in one slur didn't get the message across like they thought it would.