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

@ -24,6 +24,9 @@ internal static class RCCCarControllerV3_Patches
{
if (!result.IsValid)
return;
if (!__instance)
return;
SteeringWheelRoot.SetupSteeringWheel(__instance, result.LocalBounds);
});

View file

@ -28,6 +28,6 @@ using NAK.RCCVirtualSteeringWheel.Properties;
namespace NAK.RCCVirtualSteeringWheel.Properties;
internal static class AssemblyInfoParams
{
public const string Version = "1.0.0";
public const string Version = "1.0.3";
public const string Author = "NotAKidoS";
}

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;

View file

@ -1,8 +1,8 @@
{
"_id": -1,
"_id": 248,
"name": "RCCVirtualSteeringWheel",
"modversion": "1.0.0",
"gameversion": "2024r177",
"modversion": "1.0.3",
"gameversion": "2025r178",
"loaderversion": "0.6.1",
"modtype": "Mod",
"author": "NotAKidoS",
@ -14,10 +14,10 @@
"car"
],
"requirements": [
"BTKUILib"
"None"
],
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r44/RCCVirtualSteeringWheel.dll",
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r45/RCCVirtualSteeringWheel.dll",
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/RCCVirtualSteeringWheel/",
"changelog": "- Initial release",
"changelog": "- Fixes for 2025r178",
"embedcolor": "#f61963"
}