1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00: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;
}