I am using maps to sort weapons by their unlockable level. I have ran into a little bit of a roadblock, where two weapons are unlocked at level 0. I am using the Map “Find” Function to find the map key by the unlocked level value. When there’s two of the same value, this find outputs only one of the elements. I have tried removing the element by value after getting it, so I can get both level 0 keys, but apparently removing a map key by value removes EVERY element with the value 0, so even the second one that wasn’t even found yet.
How would I go around fixing this issue, and how do maps and values work in Unreal Engine in general?