refactoring

This commit is contained in:
Manuel Simon Hirsig
2017-02-10 17:40:02 +01:00
parent 30488dd0a6
commit d16a9d35d3
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ function update_item(item)
UIDropDownMenu_SetSelectedValue(duration_dropdown, settings.duration)
hide_checkbox:SetChecked(settings.hidden)
if selected_item.max_charges then
for i = selected_item.max_charges, 1, -1 do
if selected_item.availability[i] > 0 then