1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-19 02:12:37 +01:00

Fix #13814, 2824e790: A Set() became Reset() preventing initial sorting of lists (#13816)

This commit is contained in:
Loïc Guilloux
2025-03-14 21:15:42 +01:00
committed by GitHub
parent ac2087a3eb
commit c5ec8fb05f

View File

@@ -218,7 +218,7 @@ public:
bool NeedResort()
{
if (--this->resort_timer == 0) {
this->flags.Reset(SortListFlag::Resort);
this->flags.Set(SortListFlag::Resort);
this->ResetResortTimer();
return true;
}