In Monopoly/NetworkAdapter.cs:
public float ConvertCard(int cards)
{
float clamp = Math.Clamp(card, 0.0f, 1.0f); // 'card' is the offset field (12), not the parameter
return clamp;
}
Math.Clamp(12, ...) is always 1.0f, so the jail-card inputs are stuck at 1.0 once set — the networks never see actual card holdings.
Fix:
float clamp = Math.Clamp((float)cards, 0.0f, 1.0f);
In
Monopoly/NetworkAdapter.cs:Math.Clamp(12, ...)is always1.0f, so the jail-card inputs are stuck at 1.0 once set — the networks never see actual card holdings.Fix: