- Steam App
- City-Racing (3821590)
- Event type
- patch note
- Published
- 7 January 2026 - 23:10:21 UTC
- Source
- steam_community_announcements
Key Changes Made:1. Waypoint Reservation System· Added WaypointReservation class to track which AI car occupies each waypoint· Thread-safe using lock (reservationLock) for concurrent access· Reservations have timestamps and expiration logic to prevent deadlocks2. Reservation Management· ReserveWaypoint(): Attempts to reserve a waypoint for this AI car· ReleaseWaypoint(): Releases a specific waypoint reservation· IsWaypointAvailable(): Checks if a waypoint can be used· Automatic cleanup of expired/invalid reservations via CleanupExpiredReservationsCoroutine()3. Queue-Based Repositioning· RepositionAICarWithQueue(): New coroutine that searches for free waypoints· Searches forward (for missed waypoints) or backward (for stuck situations)· Waits up to maxWaitTimeForWaypoint seconds before forcing a waypoint· Prevents multiple AI cars from spawning at the same waypoint simultaneously4. Automa...