Remove unnecessary scope

This commit is contained in:
ζeh Matt committed 2023-10-20 14:27:02 +03:00
1 parent 4e7587db13
commit 37bc7238e6
1 file changed
+4 -5
+4 -5
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++;
}
}