From 95c8a7b1b621dbf447df1d87ff3ac64e26589128 Mon Sep 17 00:00:00 2001 From: kanym Date: Fri, 23 Oct 2026 19:03:58 +0200 Subject: [PATCH] fix(furling): other players see a Furling at Furling size The 0.81 scale was applied from a Player.Update postfix that returned for anyone but the local player and read the race from the local m_customData. Scale is not replicated, so a Furling was small only on their own screen. The postfix now sizes every player, with the race read off the ZDO the way the Dvergar and the Trol already do it. --- JotunnModStub/Furling/FurlingPatches.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/JotunnModStub/Furling/FurlingPatches.cs b/JotunnModStub/Furling/FurlingPatches.cs index 01bb0d3..7efb827 100644 --- a/JotunnModStub/Furling/FurlingPatches.cs +++ b/JotunnModStub/Furling/FurlingPatches.cs @@ -11,9 +11,13 @@ namespace RacesOfValheim { public static void Postfix(Player __instance) { - if (__instance == null || __instance != Player.m_localPlayer) return; - - if (FurlingRace.IsFurling()) + if (__instance == null) return; + + // Every player, not only the local one, with the race read off the ZDO. Scale is not + // replicated: each client sizes the characters it draws. When this sized only the + // local player from its own m_customData, a Furling was small on their own screen + // and full height on everybody else's. + if (DvergarVisuals.GetPlayerRace(__instance) == "Furling") { // Scale player visuals down by 19% (0.9 * 0.9 = 0.81) GameObject visual = Traverse.Create(__instance).Field("m_visual").GetValue();