Phase 1.5 stabilize: restore swallowed [RuntimeInitializeOnLoadMethod] - harvest feedback slice was silently dead

The 07-07 knob edit to WorldFeelConfig replaced the attribute line above
ResetDefaults(), so Enabled/ChipBurstCount/Node* all stayed C# defaults and
NodeFeedbackSystem + WorldFeedbackSystem chips/SFX/micro-punch never ran.
Live-verified: root PTM 0.783 -> child LTW 1.723 (= 2.2 x 0.783), 455/455.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-07 21:38:09 -07:00
parent d966813a36
commit 8baf98622f
@@ -55,7 +55,8 @@ namespace ProjectM.Client
/// <summary>Tiny camera shake per harvest hit near the player.</summary> /// <summary>Tiny camera shake per harvest hit near the player.</summary>
public static float ChipShake; public static float ChipShake;
public static void ResetDefaults() [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void ResetDefaults()
{ {
Enabled = true; Enabled = true;
ChipBurstCount = 12; // beefed from 6 -> a clearly visible chip spray per harvest hit ChipBurstCount = 12; // beefed from 6 -> a clearly visible chip spray per harvest hit