mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-08-31 13:29:27 +00:00
[PropLoadingHexagon] bump version, fix for 2025r179
This commit is contained in:
parent
d0504fef91
commit
e24eae5a22
3 changed files with 8 additions and 9 deletions
|
@ -50,9 +50,9 @@ public class PropLoadingHexagonMod : MelonMod
|
|||
);
|
||||
|
||||
HarmonyInstance.Patch( // delete mode on prop placeholder
|
||||
typeof(ControllerRay).GetMethod(nameof(ControllerRay.DeleteSpawnable),
|
||||
typeof(ControllerRay).GetMethod(nameof(ControllerRay.HandleSpawnableClicked),
|
||||
BindingFlags.NonPublic | BindingFlags.Instance),
|
||||
prefix: new HarmonyMethod(typeof(PropLoadingHexagonMod).GetMethod(nameof(OnDeleteSpawnableCheck),
|
||||
prefix: new HarmonyMethod(typeof(PropLoadingHexagonMod).GetMethod(nameof(OnHandleSpawnableClicked),
|
||||
BindingFlags.NonPublic | BindingFlags.Static))
|
||||
);
|
||||
|
||||
|
@ -185,7 +185,7 @@ public class PropLoadingHexagonMod : MelonMod
|
|||
Loading_Hex_List.Add(loadingHex);
|
||||
}
|
||||
|
||||
private static void OnDeleteSpawnableCheck(ref ControllerRay __instance)
|
||||
private static void OnHandleSpawnableClicked(ref ControllerRay __instance)
|
||||
{
|
||||
if (!__instance._interactDown)
|
||||
return; // not interacted, no need to check
|
||||
|
|
|
@ -22,12 +22,11 @@ using System.Reflection;
|
|||
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
|
||||
[assembly: MelonColor(255, 246, 25, 99)] // red-pink
|
||||
[assembly: MelonAuthorColor(255, 158, 21, 32)] // red
|
||||
[assembly: MelonOptionalDependencies("TheClapper")]
|
||||
[assembly: HarmonyDontPatchAll]
|
||||
|
||||
namespace NAK.PropLoadingHexagon.Properties;
|
||||
internal static class AssemblyInfoParams
|
||||
{
|
||||
public const string Version = "1.0.0";
|
||||
public const string Version = "1.0.1";
|
||||
public const string Author = "Exterrata & NotAKidoS";
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"_id": 220,
|
||||
"name": "PropLoadingHexagon",
|
||||
"modversion": "1.0.0",
|
||||
"gameversion": "2024r175",
|
||||
"modversion": "1.0.1",
|
||||
"gameversion": "2025r179",
|
||||
"loaderversion": "0.6.1",
|
||||
"modtype": "Mod",
|
||||
"author": "Exterrata & NotAKidoS",
|
||||
|
@ -16,8 +16,8 @@
|
|||
"requirements": [
|
||||
"None"
|
||||
],
|
||||
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r34/PropLoadingHexagon.dll",
|
||||
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r46/PropLoadingHexagon.dll",
|
||||
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/PropLoadingHexagon/",
|
||||
"changelog": "- Initial release",
|
||||
"changelog": "- Fixes for 2025r179",
|
||||
"embedcolor": "#f61963"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue