Skip to content

Commit

Permalink
- Fixed regression in lifestyle qualities incorrectly charging their …
Browse files Browse the repository at this point in the history
…nuyen value if free due to lifestyle level. Closes #5119
  • Loading branch information
chummer5a committed Mar 12, 2024
1 parent 1d1741e commit 57f6b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chummer/Backend/Equipment/LifestyleQuality.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ public async Task<decimal> GetCostAsync(CancellationToken token = default)
try
{
token.ThrowIfCancellationRequested();
if (await GetFreeAsync(token).ConfigureAwait(false))
if (await GetCostFreeAsync(token).ConfigureAwait(false))
return 0;
if (!decimal.TryParse(CostString, NumberStyles.Any, GlobalSettings.InvariantCultureInfo,
out decimal decReturn))
Expand Down

0 comments on commit 57f6b17

Please sign in to comment.