RCCVirtualSteeringWheel: Fixes for 2025r178

This commit is contained in:
NotAKidoS 2025-01-15 16:42:05 -06:00
parent 621321c498
commit 40bc88586e
4 changed files with 10 additions and 8 deletions

View file

@ -27,7 +27,6 @@ public class SteeringWheelRoot : MonoBehaviour
public static void SetupSteeringWheel(RCC_CarControllerV3 carController, Bounds steeringWheelBounds)
{
Transform steeringWheel = carController.SteeringWheel;
if (carController == null) return;
SteeringWheelRoot wheel = steeringWheel.gameObject.AddComponent<SteeringWheelRoot>();
wheel._carController = carController;