diff --git a/src/openrct2/Game.cpp b/src/openrct2/Game.cpp index cb064d33f7..bffd858984 100644 --- a/src/openrct2/Game.cpp +++ b/src/openrct2/Game.cpp @@ -364,13 +364,12 @@ static void FixGuestCount() { // Recalculates peep count after loading a save to fix corrupted files uint32_t guestCount = 0; + + for (auto guest : EntityList()) { - for (auto guest : EntityList()) + if (!guest->OutsideOfPark) { - if (!guest->OutsideOfPark) - { - guestCount++; - } + guestCount++; } }