mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-04 23:39:22 +00:00
[SmootherRay] bump version, fixes for 2025r179
This commit is contained in:
parent
697ad77f5f
commit
cdcb70a4b1
3 changed files with 9 additions and 10 deletions
|
@ -51,7 +51,7 @@ public class SmootherRayMod : MelonMod
|
||||||
{
|
{
|
||||||
Logger = LoggerInstance;
|
Logger = LoggerInstance;
|
||||||
ApplyPatches(typeof(PlayerSetup_Patches));
|
ApplyPatches(typeof(PlayerSetup_Patches));
|
||||||
ApplyPatches(typeof(ControllerRay_Patches));
|
ApplyPatches(typeof(ControllerSmoothing_Patches));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ApplyPatches(Type type)
|
private void ApplyPatches(Type type)
|
||||||
|
@ -82,12 +82,12 @@ public class SmootherRayMod : MelonMod
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static class ControllerRay_Patches
|
internal static class ControllerSmoothing_Patches
|
||||||
{
|
{
|
||||||
// SmootherRay
|
// SmootherRay
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
[HarmonyPatch(typeof(ControllerRay), nameof(ControllerRay.SmoothRay))]
|
[HarmonyPatch(typeof(ControllerSmoothing), nameof(ControllerSmoothing.OnAppliedPoses))]
|
||||||
private static bool Prefix_ControllerRay_SmoothRay(ref ControllerRay __instance)
|
private static bool Prefix_ControllerSmoothing_OnAppliedPoses(ref ControllerSmoothing __instance)
|
||||||
=> !EntryEnabled.Value; // SmootherRay method enforces identity local pos when disabled, so we skip it
|
=> !EntryEnabled.Value; // SmootherRay method enforces identity local pos when disabled, so we skip it
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,8 @@ using System.Reflection;
|
||||||
[assembly: HarmonyDontPatchAll]
|
[assembly: HarmonyDontPatchAll]
|
||||||
|
|
||||||
namespace NAK.SmootherRay.Properties;
|
namespace NAK.SmootherRay.Properties;
|
||||||
|
|
||||||
internal static class AssemblyInfoParams
|
internal static class AssemblyInfoParams
|
||||||
{
|
{
|
||||||
public const string Version = "1.0.6";
|
public const string Version = "1.0.7";
|
||||||
public const string Author = "NotAKidoS";
|
public const string Author = "NotAKidoS";
|
||||||
}
|
}
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"_id": 162,
|
"_id": 162,
|
||||||
"name": "SmootherRay",
|
"name": "SmootherRay",
|
||||||
"modversion": "1.0.5",
|
"modversion": "1.0.6",
|
||||||
"gameversion": "2024r176",
|
"gameversion": "2025r177",
|
||||||
"loaderversion": "0.6.1",
|
"loaderversion": "0.6.1",
|
||||||
"modtype": "Mod",
|
"modtype": "Mod",
|
||||||
"author": "NotAKidoS",
|
"author": "NotAKidoS",
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"None"
|
"None"
|
||||||
],
|
],
|
||||||
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r40/SmootherRay.dll",
|
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r46/SmootherRay.dll",
|
||||||
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/SmootherRay/",
|
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/SmootherRay/",
|
||||||
"changelog": "- Fixed for 2024r176.\n- Rebranded to SmootherRayer due to native implementation now existing and sucking.",
|
"changelog": "- Fixes for 2025r179",
|
||||||
"embedcolor": "#f61963"
|
"embedcolor": "#f61963"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue