Solve crash that occurs when selling items not in your loadout item slots. Release Build 7872.

This commit is contained in:
2024-03-02 16:30:09 -06:00
parent 037e818f83
commit d909c140cf
7 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ void InputGroup::RemovePrimaryKeybind(InputType type){
}
void InputGroup::AddPrimaryKeybind(Input key){
keys.insert(key);
keyOrder.insert(keyOrder.begin(),{key.GetType(),key.key});
keyOrder.insert(keyOrder.begin(),key);
}
void InputGroup::SetNewPrimaryKeybind(Input key){
RemovePrimaryKeybind(key.GetType());