Added check for IS_VEHICLE_DOOR_DAMAGED in keep_vehicle_repaired. (#1933)

Fixed Selected Teleport not showing up in hotkeys menu.
Added Yim's Vehicle cleanup code from the halted PR.
This commit is contained in:
gir489
2023-08-07 04:16:08 -04:00
committed by GitHub
parent 32472ff524
commit e87931bf60
8 changed files with 32 additions and 11 deletions

View File

@ -149,6 +149,8 @@ namespace big
vehicle::teleport_into_vehicle(veh);
}
}
// cleanup clones
ENTITY::SET_ENTITY_AS_NO_LONGER_NEEDED(&veh);
}
else
{