ReceivedOilSpill matching

This commit is contained in:
Dethrace Labs 2025-10-12 14:23:15 +13:00 committed by Dethrace Engineering Department
parent c775286457
commit d8a0af7e5b
1 changed files with 1 additions and 2 deletions

View File

@ -504,8 +504,7 @@ void ReceivedOilSpill(tNet_contents* pContents) {
if (gOily_spills[i].car == NULL) {
oily_index = i;
break;
}
if (gOily_spills[i].spill_time < oldest_time) {
} else if (gOily_spills[i].spill_time < oldest_time) {
oldest_time = gOily_spills[i].spill_time;
oldest_one = i;
}