Skip to content

Commit

Permalink
fix incorrect ui reserve info
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobharder committed Nov 1, 2023
1 parent b249302 commit aa189ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Burntime Changelog

## [Unreleased]
## 0.8 - Gameplay Improvements (2023-11-01)

### Changes

Expand Down
4 changes: 2 additions & 2 deletions source/Burntime.Remaster/Logic/Character/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ private int GetLowestAfterDistribution(int[] reserves, int distribute)
reserves[i]++;

if (distribute == 0)
return lowest;
break;
}
}
}

return lowest;
return reserves.Min();
}
#endregion

Expand Down

0 comments on commit aa189ae

Please sign in to comment.