Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Mar 9, 2024
1 parent 6280c04 commit 963a351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void Update(UpdateReinforcementUi updateReinforcementUi)
if (cur < min)
{
OnKeySelected.Invoke((uint)member, (uint)min);
cur = min;
r.ModelCount = cur = min;
}

r.JobName.Text = Loc.GetString("reinforcement-row", ("name", Loc.GetString(r.Model!.Name)), ("job", jobTitle));
Expand Down Expand Up @@ -179,6 +179,7 @@ private void UpdateRows()
}

r.PlusBtn.Disabled = max <= cur || r.Model?.MaxCount <= r.ModelCount;
r.MinusBtn.Disabled = r.Model?.MinCount >= r.ModelCount;
}
}

Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/ru-RU/backmen/reinforcement.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ reinforcement-error-list-2 = Ошибка! Список превышает ог
reinforcement-error-brief = Ошибка! Брифинг пуст!
reinforcement-team-size = Размер команды:
reinforcement-team-size-min = минмум: { $num }
reinforcement-team-size-min = минимум: { $num }
reinforcement-team-size-max = максимум: { $num }
reinforcement-ghostrole-name = Подкрепление: { $name }
Expand Down

0 comments on commit 963a351

Please sign in to comment.