Add multiple font characters

Hello, I have a problem that I cannot solve. Making an extra addition to the font file I prepared. There must be two ‘r’ characters with the same code. how that happens? Can you help me?

Hello, welcome to the forum. What do you mean there must be two r characters? You want to create two r glyphs in your file? What do you mean by the same code? Do you mean you want to create two different glyphs that both get used for an r, so a stylistic variant? Maybe check out the tutorial on Stylistic Sets, if that’s what you’re looking for.

Or are there two ‘r’ in the font by accident?