Skip to content

Commit 64641ec

Browse files
committed
Some refactorings / notes
1 parent 318ad06 commit 64641ec

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CommunityBugFixCollection/BreakDragAndDropCopiedComponentDrives.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ protected override bool OnEngineReady()
2222
var integrationMod = Mod.Loader.Get<Mod>().ById("MonkeyLoader.GamePacks.Resonite");
2323

2424
// Newer version than last one that did not include the fix
25+
// accidentally not included in 0.23.0 ...
2526
if (integrationMod is not null && integrationMod.Version > new NuGetVersion(0, 22, 1))
2627
{
2728
Logger.Info(() => "Skipping in favor of the Resonite Integration fix.");

CommunityBugFixCollection/ColorDisplayValueProxy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace CommunityBugFixCollection
1111
{
12+
// Todo: do this for strings and objects too?
1213
[HarmonyPatchCategory(nameof(ColorDisplayValueProxy))]
1314
[HarmonyPatch(typeof(ValueDisplay<color>), nameof(ValueDisplay<color>.BuildContentUI))]
1415
internal sealed class ColorDisplayValueProxy : ResoniteBugFixMonkey<ColorDisplayValueProxy>

CommunityBugFixCollection/ValidQuaternionInputs.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ private static void Postfix(ProtoFluxNode __result)
2020
if (!Enabled)
2121
return;
2222

23-
Logger.Info(() => $"__result is: {__result.GetType().CompactDescription()}");
24-
2523
__result.RunInUpdates(0, () =>
2624
{
2725
if (__result is ValueInput<floatQ> floatQInput)

0 commit comments

Comments
 (0)