SaveTool: fix an issue with the damage type radio buttons.
This commit is contained in:
parent
32a1a6d014
commit
c35735b2fc
1 changed files with 2 additions and 2 deletions
|
@ -389,8 +389,8 @@ void SaveTool::drawWeaponEditor(Weapon& weapon) {
|
|||
weapon.damageType = DamageType::Freeze;
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if(ImGui::RadioButton("Shock##Shock", weapon.damageType == DamageType::Freeze)) {
|
||||
weapon.damageType = DamageType::Freeze;
|
||||
if(ImGui::RadioButton("Shock##Shock", weapon.damageType == DamageType::Shock)) {
|
||||
weapon.damageType = DamageType::Shock;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue