Remove unnecessary scope

This commit is contained in:
ζeh Matt 2023-10-20 14:27:02 +03:00
parent 4e7587db13
commit 37bc7238e6
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 4 additions and 5 deletions

View File

@ -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<Guest>())
{
for (auto guest : EntityList<Guest>())
if (!guest->OutsideOfPark)
{
if (!guest->OutsideOfPark)
{
guestCount++;
}
guestCount++;
}
}