Skip to content

Commit

Permalink
Removing cap-space prevention fix from FA sync
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebRose committed Jan 12, 2024
1 parent 8f7c5e0 commit 0fc8e9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions managers/FreeAgencyManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ func SyncFreeAgencyOffers() {
// Invalid!!
continue
}
y1CapSpace := ts.Y1Capspace - capsheet.Y1Bonus - capsheet.Y1Salary - capsheet.Y1CapHit
y1Remaining := y1CapSpace - Offer.Y1BaseSalary - Offer.Y1Bonus
if y1CapSpace < 0 || y1Remaining < 0 {
continue
}
// y1CapSpace := ts.Y1Capspace - capsheet.Y1Bonus - capsheet.Y1Salary - capsheet.Y1CapHit
// y1Remaining := y1CapSpace - Offer.Y1BaseSalary - Offer.Y1Bonus
// if y1CapSpace < 0 || y1Remaining < 0 {
// continue
// }
// Get the Contract with the best value for the FA
if Offer.IsActive && WinningOffer.ID == 0 {
WinningOffer = Offer
Expand Down

0 comments on commit 0fc8e9c

Please sign in to comment.