Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erdelf committed Jan 8, 2022
2 parents 9c6c88f + a04ce40 commit e2f5bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified 1.3/Assemblies/VFECore.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/VFECore/Misc/Dialog_Hire.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ private void DoHireableFaction(ref Rect inRect, HireableFactionDef def)
var amount = data.First;
var buffer = data.Second;
UIUtility.DrawCountAdjuster(ref amount, numRect, ref buffer, 0, 99, curFaction != null && curFaction != def, null, Mathf.Max(Mathf.FloorToInt(Mathf.Pow(
(availableSilver / (riskMultiplier + 1f) / CostDays - CostPawns(new HashSet<PawnKindDef> { kind })) /
kind.combatPower, 1f / 1.2f)), 1));
(availableSilver / (riskMultiplier + 1f) / CostDays - CostPawns(new HashSet<PawnKindDef> {kind})) /
kind.combatPower, 1f / 1.2f)), 0));
if (amount != data.First || buffer != data.Second)
{
hireData[kind] = new Pair<int, string>(amount, buffer);
Expand Down

0 comments on commit e2f5bdd

Please sign in to comment.