Show my place correctly.

This commit is contained in:
John Preston
2025-11-21 21:26:35 +04:00
parent 476e66d027
commit 9b558564e9
2 changed files with 2 additions and 2 deletions
@@ -497,7 +497,7 @@ void AddBidPlaces(
if (i->amount < chosen
|| (!setting
&& i->amount == chosen
&& i->date > value.my.date)) {
&& i->date >= value.my.date)) {
top.push_back({ show->session().user(), chosen });
for (auto j = i; j != e; ++j) {
if (!pushTop(j)) {
@@ -407,7 +407,7 @@ int MyAuctionPosition(const GiftAuctionState &state) {
const auto &levels = state.bidLevels;
for (auto i = begin(levels), e = end(levels); i != e; ++i) {
if (i->amount < state.my.bid
|| (i->amount == state.my.bid && i->date > state.my.date)) {
|| (i->amount == state.my.bid && i->date >= state.my.date)) {
return i->position;
}
}